Download a state-year VEST precinct file from Harvard Dataverse.
get_vest(state, year, path = tempdir(), clean_names = TRUE, epsg = 3857, ...)Two-letter state abbreviation.
Election year, currently one of 2016 through 2021.
Directory used for extracted files. Defaults to tempdir().
Logical. If TRUE, rename election columns into a more
consistent scheme.
numeric EPSG code to planarize to. Default is 3857.
Additional arguments passed to sf::read_sf().
sf tibble containing the requested VEST dataset
if (FALSE) { # \dontrun{
# Requires Dataverse API
shp <- get_vest('CO', 2020)
} # }