USelections: Results of the US Presidential elections by state 1976-2016

Description Usage Format Source References

Description

A dataset containing results of all US Presidential elections by state from 1976 to 2016. This data was provided by the MIT Election Data + Science Lab.

Usage

1

Format

An object of class data.frame with 3740 rows and 14 columns.

year

Year of the election between 1976 and 2016

state

Name of the US state

state_po

U.S. postal code state abbreviation

state_fips

State FIPS code

state_cen

U.S. Census state code

state_ic

ICPSR state code

office

U.S. President

candidate

Name of the candidate

party

Party of the candidate

writein

Vote totals associated with write-in candidates

candidatevotes

Votes received by this candidate for this particular party

totalvotes

Total number of votes cast for this election

version

Date of final version

notes

logical vector

Source

https://doi.org/10.7910/DVN/42MVDX

References

MIT Election Data and Science Lab, 2017, "U.S. President 1976–2016", https://doi.org/10.7910/DVN/42MVDX, Harvard Dataverse, V5.


heike/electionViz documentation built on Nov. 16, 2020, 10:02 p.m.