Convert World Borders Shapefile

Description

Returns a SpatialPolygonsDataFrame for world divisions

Usage

1
convertTMWorldBorders(nameOnly = FALSE)

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 spatial data directory which is set with setSpatialDataDir().

Value

Name of the dataset being created.

References

http://thematicmapping.org/downloads/

See Also

setSpatialDataDir

getCountry, getCountryCode

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.