Skip to content

lutz

Look Up Time Zones of Point Coordinates

v0.3.2 · Oct 17, 2023 · MIT + file LICENSE

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.

Downloads

1.6K

Last 30 days

3014th

1.6K

Last 90 days

1.6K

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    R   5.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    R   5.0Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      4.0Mb
    libs   1.0Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    R   5.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.0Mb
  sub-directories of 1Mb or more:
    R   5.0Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      4.0Mb
    libs   1.0Mb

Reverse Dependencies (10)

Dependency Network

Dependencies Reverse dependencies Rcpp lubridate ARUtools CDSE ascotraceR bioRad finbif stationaRy weathR SunCalcMeeus photobiology spectator lutz

Version History

new 0.3.2 Mar 9, 2026