get_alarm: Get ALARM Dataset

View source: R/alarm.R

get_alarmR Documentation

Get ALARM Dataset

Description

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.

Usage

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.

Details

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

Value

tibble with election data and optional geometry

Examples

ak <- get_alarm('AK', geometry = FALSE)

christopherkenny/geomander documentation built on Feb. 18, 2024, 7:58 p.m.