lutz: Look Up Time Zones of Point Coordinates

Input latitude and longitude values or an 'sf/sfc' POINT object and get back the timezone in which they exist. Two methods are implemented. One is very fast and uses the 'V8' package to access the 'tz-lookup.js' 'Javascript' library (<https://github.com/darkskyapp/tz-lookup/>). 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/>.

Getting started

Package details

AuthorAndy Teucher [aut, cre]
MaintainerAndy Teucher <[email protected]>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/ateucher/lutz
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("lutz")

Try the lutz package in your browser

Any scripts or data that you put into this service are public.

lutz documentation built on June 25, 2018, 1:02 a.m.