-
Notifications
You must be signed in to change notification settings - Fork 5
/
DESCRIPTION
45 lines (45 loc) · 1.89 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Package: lutz
Type: Package
Title: Look Up Time Zones of Point Coordinates
Version: 0.3.2.9000
Authors@R: c(
person("Andy", "Teucher", email = "andy.teucher@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7840-692X")),
person("Bob", "Rudis", email = "bob@rud.is", role = c("ctb"),
comment = c(ORCID = "0000-0001-5670-2640"))
)
Description: Input latitude and longitude values or an 'sf/sfc' POINT
object and get back the time zone in which they exist. Two methods are implemented.
One is very fast and uses 'Rcpp' in conjunction with data from the 'Javascript' library
(<https://github.com/darkskyapp/tz-lookup-oss/>). This method also works outside of countries'
borders and in international waters, however speed comes at the cost of accuracy - near time
zone borders away from populated centres there is a chance that it will return the incorrect
time zone. The other method is slower but more accurate - it uses the 'sf' package to intersect
points with a detailed map of time zones from here:
<https://github.com/evansiroky/timezone-boundary-builder/>. The package also
contains several utility functions for helping to understand and visualize
time zones, such as listing of world time zones, including information about
daylight savings times and their offsets from UTC. You can also plot a
time zone to visualize the UTC offset over a year and when daylight savings
times are in effect.
License: MIT + file LICENSE
URL: https://andyteucher.ca/lutz/, https://github.com/ateucher/lutz
BugReports: https://github.com/ateucher/lutz/issues
Depends: R (>= 3.2)
Imports:
stats,
Rcpp,
lubridate
Suggests:
testthat (>= 2.1.0),
sf (>= 0.7),
sp,
datasets,
covr,
ggplot2
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
LinkingTo:
Rcpp