MazamaSpatialUtils (version 0.7.6)

convertWorldTimezones: Convert Timezone Shapefile

Description

Create a SpatialPolygonsDataFrame for world timezones.

Usage

convertWorldTimezones(nameOnly = FALSE, simplify = TRUE)

Value

Name of the dataset being created.

Arguments

nameOnly

Logical specifying whether to only return the name without creating the file.

simplify

Logical specifying whether to create "_05", _02" and "_01" versions of the file that are simplified to 5%, 2% and 1%.

Details

A world timezones shapefile is downloaded and converted to a SpatialPolygonsDataFrame with additional columns of data. The resulting file will be created in the spatial data directory which is set with setSpatialDataDir().

The source data is from 2020 -- release 2020d.

References

https://github.com/evansiroky/timezone-boundary-builder

See Also

setSpatialDataDir

getTimezone

convertWikipediaTimezoneTable