MazamaSpatialUtils (version 0.8.6)

convertUSCensusCounties: Convert US county borders shapefile

Description

Create a simple features data frame for US counties.

The full resolution file will be named "USCensusCounties.rda". In addition, "_05", _02" and "_01" versions of the file will be created that that are simplified to 5%, 2% and 1%. Simplified versions will greatly improve the speed of both searching and plotting.

Usage

convertUSCensusCounties()

Arguments

Value

Name of the datasetName being created.

Details

A US county borders shapefile is downloaded and converted to a simple features data frame with additional columns of data. The resulting file will be created in the spatial data directory which is set with setSpatialDataDir.

The source data is from 2021.

References

https://www2.census.gov/geo/tiger/GENZ2021/