Gets a dataset from the Algorithm-Assisted Redistricting Methodology Project. The current supported data is the 2020 retabulations of the VEST data, which can be downloaded with get_vest.

get_alarm(state, year = 2020, geometry = TRUE, epsg = 3857)

Arguments

state

two letter state abbreviation

year

year to get data for. Either 2020 or 2010

geometry

Default is TRUE. Add geometry to the data?

epsg

numeric EPSG code to planarize to. Default is 3857.

Value

tibble with election data and optional geometry

Details

See the full available data at https://github.com/alarm-redist/census-2020.

Examples

ak <- get_alarm('AK', geometry = FALSE)
#> Data sourced from the ALARM Project
#> <https://github.com/alarm-redist/census-2020>.
#> This message is displayed once per session.