Get Voting and Election Science Team ("VEST") Dataset

get_vest(state, year, path = tempdir(), clean_names = TRUE, epsg = 3857, ...)

Arguments

state

two letter state abbreviation

year

year any in 2016-2021

path

folder to put shape in. Default is tempdir()

clean_names

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

epsg

numeric EPSG code to planarize to. Default is 3857.

...

additional arguments passed to sf::read_sf()

Value

sf tibble

Examples

if (FALSE) {
# Requires Dataverse API
shp <- get_vest('CO', 2020)
}