convertStateLegislativeDistricts: Convert US dtate legislative districts shapefile

Description Usage Arguments Details Value References See Also

View source: R/convertStateLegislativeDistricts.R

Description

a SpatialPolygonsDataFrame for US State Legislative Districts

Usage

1
2
convertStateLegislativeDistricts(stateCode, house = "Upper",
  nameOnly = FALSE)

Arguments

stateCode

ISO 3166-2 alpha-2 state code.

house

Character specifying either "Upper" or "Lower" house.

nameOnly

Logical specifying whether to only return the name without creating the file.

Details

A US State Legislative District 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().

Value

Name of the dataset being created.

References

https://www.census.gov/geo/maps-data/data/cbf/cbf_sld.html

See Also

setSpatialDataDir


MazamaSpatialUtils documentation built on Sept. 29, 2019, 1:03 a.m.