get_dra: Get Dave's Redistricting App Dataset

View source: R/dra_vtd.R

get_draR Documentation

Get Dave's Redistricting App Dataset

Description

Gets a dataset from Dave's Redistricting App.

Usage

get_dra(state, year = 2020, geometry = TRUE, clean_names = 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?

clean_names

Clean names. Default is TRUE. If FALSE, returns default names.

epsg

numeric EPSG code to planarize to. Default is 3857.

Details

See the full available data at https://github.com/dra2020/vtd_data.

Value

tibble with election data and optional geometry

Examples

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

geomander documentation built on April 16, 2023, 5:18 p.m.