lutz

Look Up Time Zones of Point Coordinates

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,349 times in the last 30 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 51 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
47 downloadsFeb 11, 2025
75 downloadsFeb 12, 2025
47 downloadsFeb 13, 2025
32 downloadsFeb 14, 2025
26 downloadsFeb 15, 2025
13 downloadsFeb 16, 2025
33 downloadsFeb 17, 2025
43 downloadsFeb 18, 2025
47 downloadsFeb 19, 2025
46 downloadsFeb 20, 2025
39 downloadsFeb 21, 2025
37 downloadsFeb 22, 2025
12 downloadsFeb 23, 2025
41 downloadsFeb 24, 2025
54 downloadsFeb 25, 2025
33 downloadsFeb 26, 2025
49 downloadsFeb 27, 2025
42 downloadsFeb 28, 2025
47 downloadsMar 1, 2025
29 downloadsMar 2, 2025
57 downloadsMar 3, 2025
90 downloadsMar 4, 2025
79 downloadsMar 5, 2025
55 downloadsMar 6, 2025
59 downloadsMar 7, 2025
28 downloadsMar 8, 2025
28 downloadsMar 9, 2025
50 downloadsMar 10, 2025
60 downloadsMar 11, 2025
51 downloadsMar 12, 2025
0 downloadsMar 13, 2025
0 downloadsMar 14, 2025
0 downloadsMar 15, 2025
12
90

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 15,136 times in the last 365 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The day with the most downloads was Feb 05, 2025 with 120 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports2 packages
  • Suggests5 packages
  • Linking To1 package
  • Reverse Imports6 packages
  • Reverse Suggests2 packages