Learn R Programming

MazamaSpatialUtils (version 0.8.6)

convertUSCensusCongress: Convert US congressional districts shapefile

Description

Returns a simple features data frame for US Congressional Districts for the 116th US House of Representatives.

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

convertUSCensusCongress()

Arguments

Value

Name of the datasetName being created.

Details

A US congressional district 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/

See Also

setSpatialDataDir