MazamaSpatialUtils (version 0.8.6)

convertUSCensusStates: Convert US Census state shapefile

Description

Create a simple features dataframe for US states

The full resolution file will be named "USCensusStates". 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

convertUSCensusStates()

Arguments

Value

Name of the datasetName being created.

Details

A US state borders shapefile is downloaded and converted to a simple features dataframe 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/