uselections: US elections data

Description Format Source

Description

Contains county-level returns for presidential elections from 2000 to 2016. The data source is official state election data records. Note: County results in Alaska for 2004 are based on official Alaska data, but it is clear the district returns significantly overstate the number of votes cast.

Format

A data frame with columns:

year

election year

state

state name

state_po

US postal code state abbreviation

county

county name

FIPS

county FIPS code

office

president

candidate

name of the candidate

party

party of the candidate

candidatevotes

votes received by this candidate for this particular party

totalvotes

total number of votes cast in this county-year

version

date when dataset was finalized

Source

MIT Election Data and Science Lab, 2018, "County Presidential Election Returns 2000-2016", https://doi.org/10.7910/DVN/VOQCHQ, Harvard Dataverse, V6, UNF:6:ZZe1xuZ5H2l4NUiSRcRf8Q


andrewpbray/calflights documentation built on Oct. 18, 2020, 5:32 a.m.