MazamaSpatialUtils (version 0.6.4)

convertUSCensusCounties: Convert US County Borders Shapefile

Description

Returns a SpatialPolygonsDataFrame for a US county divisions

Usage

convertUSCensusCounties(nameOnly = FALSE)

Arguments

nameOnly

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

Value

Name of the dataset being created.

Details

A US county 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().

References

http://www2.census.gov/geo/tiger/GENZ2013

See Also

setSpatialDataDir

getUSCounty