Learn R Programming

MazamaSpatialUtils (version 0.7.6)

convertUSCensusCBSA: Convert US Core Based Statistical Areas Shapefile

Description

Returns a SpatialPolygonsDataFrame for US CBSAs

Usage

convertUSCensusCBSA(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 US Core Based Statistical Areas (CBSA) 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

https://www2.census.gov/geo/tiger/TIGER2019/CBSA/

See Also

setSpatialDataDir

getUSCounty