Description Usage Arguments Value See Also Examples
GetTimeZone
takes a dataframe of locations containing at least
two fields of latitude and longitude, overlays the points with a timezone
shapefile (can be downloded from http://efele.net/maps/tz/world/),
and adds the timeZone as a field to the input dataframe.
1 2 3 | GetTimeZone(points,
proj4 = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0",
parallel = FALSE)
|
points |
A dataframe of the points The dataframe should contain at least two fields: "latitude" and "longitude". |
proj4 |
Character: Projection to be used for points's dataframe. (DEFAULT = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0") |
parallel |
Logical(DEFAULT = FALSE) |
Dataframe with an extra column containing the time zone.
Other geospatial: ExportGeogrid
,
GetGeogridIndex
,
GetGeogridSpatialInfo
,
GetPoly
, GetProj
,
GetRfc
, PolyToRaster
1 2 3 4 5 | ## Not run:
sg <- SelectGhcnGauges(countryCode="US",networkCode="C")[1:10,]
sg <- GetTimeZone(sg)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.