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 (<>). 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: <>.

Getting started

Package details

AuthorAndy Teucher [aut, cre]
MaintainerAndy Teucher <[email protected]>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

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.