elections: US County Election Data

electionsR Documentation

US County Election Data

Description

County-level data with electoral results from 2012, 2016, and 2020. Note: some 2020 results based on estimates. The variables are as follows:

  • fips. County FIPS ID.

  • name. Name of county.

  • state. State.

  • census_region. Region state belongs to according to Census.

  • pop. County population (2014).

  • female. Percent of county that is female (2013).

  • white. Percent of county that is white (2013).

  • black. Percent of county that is black (2013).

  • travel_time. Mean travel time to work (minutes), workers age 16+, 2009-2013.

  • land_area. County land area in square miles, 2010.

  • hh_income. Median household income, 2009-2013.

  • per_PARTY_2012. PARTY presidential vote, proportion, 2012.

  • per_PARTY_2016. PARTY presidential vote, proportion, 2016.

  • per_PARTY_2020. PARTY presidential vote, proportion, 2020.

Usage

data(elections)

Format

A (tibble) data frame with 3,152 rows and 17 variables.

Source

Mostly a port of socviz::county_data.


hail2thief/ladata documentation built on Sept. 9, 2024, 1:28 p.m.