Returns a SpatialPolygonsDataFrame for a 1st level administrative divisions
convertNaturalEarthAdm1(nameOnly = FALSE)
logical specifying whether to only return the name without creating the file
Name of the dataset being created.
A state border 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()
.
Within the MazamaSpatialUtils package the phrase 'state' refers to administrative divisions beneath the level of the country or nation. This makes sense in the United 'States'. In other countries this level is known as 'province', 'territory' or some other term.
setSpatialDataDir
getState, getStateCode