get_tz | R Documentation |
This function determines the IANA/Olson time zone identifier from latitude and longitude. This is a helper function which is used to assist in converting downloaded data from UTC to local time.
Timezone information is extracted from the included tz_world dataset. The original tz_world data was created by Eric Muller and can be found at (http://efele.net/maps/tz/world/)
get_tz(Lat, Lon, site_crs)
Lat |
The site Latitude |
Lon |
The site Longitude |
site_crs |
The coordinate reference system of the points, preferably designated as an EPSG code. For example, the most common geographic system is WGS84 and its EPSG code is 4326. |
Returns the IANA/Olson time zone identifier for a given Latitude and Longitude
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.