voting_districts {tigris}R Documentation

Download a voting districts shapefile into R

Description

Obtain feature geometry for 2020 voting districts, which align with voting districts for the 2020 PL-94171 redistricting data from the US Census Bureau.

Usage

voting_districts(state = NULL, county = NULL, cb = FALSE, year = 2020, ...)

Arguments

state

The state for which you'd like to retrieve data. Can be a state name, state abbreviation, or FIPS code. When NULL and combined with cb = TRUE, a national dataset of voting districts will be returned.

county

The county for which you are requesting data. Can be a county name or FIPS code. If NULL (the default), data for the entire state will be returned.

cb

If cb is set to TRUE, download a generalized (1:500k) cartographic boundary file. Defaults to FALSE (the most detailed TIGER/Line file).

year

the data year; defaults to 2022

...

arguments to be passed to internal function load_tiger, which is not exported. See Additional Arguments.

Details

The US Census Bureau describes voting districts as follows: Voting district (VTD) is a generic term adopted by the Bureau of the Census to include the wide variety of small polling areas, such as election districts, precincts, or wards, that State and local governments create for the purpose of administering elections. Some States also use groupings of these entities to define their State and local legislative districts, as well as the districts they define for election of members to the U.S. House of Representatives. In a nationwide cooperative program for the 1980 census, the Census Bureau gave States the opportunity to request use of these election precinct boundaries as the boundaries of #' census enumeration districts (EDs) or, in some areas, census blocks.

Support for voting districts in tigris 1.5 and higher is aligned with the 2020 PL redistricting data. The argument cb = FALSE retrieves voting districts from the TIGER/Line PL shapefiles. A generalized version from the cartographic boundary dataset is available with the argument cb = TRUE.

Additional Arguments

Additional arguments that can be passed in ... are:

See Also

https://www2.census.gov/geo/pdfs/reference/GARM/Ch14GARM.pdf

Other legislative district functions: congressional_districts(), state_legislative_districts()

Examples

## Not run: #'
library(tigris)

ia <- voting_districts("Iowa")

plot(ia$geometry)


## End(Not run)

[Package tigris version 2.1 Index]