The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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.
Version: | 0.3.2 |
Depends: | R (≥ 3.2) |
Imports: | stats, Rcpp, lubridate |
LinkingTo: | Rcpp |
Suggests: | testthat (≥ 2.1.0), sf (≥ 0.7), sp, datasets, covr, ggplot2 |
Published: | 2023-10-17 |
DOI: | 10.32614/CRAN.package.lutz |
Author: | Andy Teucher [aut, cre], Bob Rudis [ctb] |
Maintainer: | Andy Teucher <andy.teucher at gmail.com> |
BugReports: | https://github.com/ateucher/lutz/issues |
License: | MIT + file LICENSE |
URL: | https://andyteucher.ca/lutz/, https://github.com/ateucher/lutz |
NeedsCompilation: | yes |
Materials: | README NEWS |
CRAN checks: | lutz results |
Reference manual: | lutz.pdf |
Package source: | lutz_0.3.2.tar.gz |
Windows binaries: | r-devel: lutz_0.3.2.zip, r-release: lutz_0.3.2.zip, r-oldrel: lutz_0.3.2.zip |
macOS binaries: | r-release (arm64): lutz_0.3.2.tgz, r-oldrel (arm64): lutz_0.3.2.tgz, r-release (x86_64): lutz_0.3.2.tgz, r-oldrel (x86_64): lutz_0.3.2.tgz |
Old sources: | lutz archive |
Reverse imports: | ARUtools, ascotraceR, bioRad, CDSE, finbif, stationaRy |
Reverse suggests: | photobiology, spectator |
Please use the canonical form https://CRAN.R-project.org/package=lutz to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.