Uses the Google API (and/or the package cache) to determine the local
timezone name, offset, and DST offset of a site
Usage
lookup_timezone(latitude, longitude)
Arguments
- latitude
degrees latitude (positive for north) of the location to look
up.
- longitude
degrees longitude (positive for east) of the location to
look up.
Examples
lookup_timezone(41.33, -106.3)
#> $tz
#> [1] "America/Denver"
#>
#> $dst_offset
#> unitted numeric (hours)
#> [1] 0
#>
#> $std_offset
#> unitted numeric (hours)
#> [1] -7
#>
#> $retry
#> [1] 0
#>