Learn R Programming

alarmdata (version 0.2.4)

alarm_census_vest: Download Joined VEST and Census Data

Description

Downloads Census data joined with VEST's election data. All are re-tabulated from precincts collected by VEST to 2020 Census geographies.

Usage

alarm_census_vest(state, geometry = FALSE, epsg = alarm_epsg(state))

Value

tibble with Census and election data

Arguments

state

A state name, abbreviation, FIPS code, or ANSI code.

geometry

If TRUE (default is FALSE), include sf geometry from Census Bureau TIGER Lines with the data.

epsg

A numeric EPSG code to use as the coordinate system. Default is alarm_epsg(state).

Examples

Run this code
alarm_census_vest("DE", geometry = FALSE)

Run the code above in your browser using DataLab