convertTMWorldBordersSimple: Convert (Simple) World Borders Shapefile

Description Usage Arguments Details Value References See Also

View source: R/convertTMWorldBordersSimple.R

Description

Returns a SpatialPolygonsDataFrame for a simple world divisions

Usage

1

Arguments

nameOnly

logical specifying whether to only return the name without creating the file

Details

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

This shapefile is a greatly simplified version of the TMWorldBorders shapefile and is especially suited for spatial searches. This is the default dataset used in getCountry() and getCountryCode(). Users may wish to use a higher resolution dataset when plotting.

Value

Name of the dataset being created.

References

http://thematicmapping.org/downloads/

See Also

setSpatialDataDir

getCountry, getCountryCode


MazamaSpatialUtils documentation built on Sept. 29, 2019, 1:03 a.m.