1
2
3
4
5
#

Name:

Description:

Election results for the 2008 U.S. Presidential race

Variables:

  • state - State name abbreviation

  • stateFull - Full state name

  • n_obama - Number of votes for Barack Obama

  • p_obama - Proportion of votes for Barack Obama

  • n_mc_cain - Number of votes for John McCain

  • p_mc_cain - Proportion of votes for John McCain

  • el_votes - Number of electoral votes for a state

Details

In Nebraska, 4 electoral votes went to McCain and 1 to Obama. Otherwise the electoral votes were a winner-take-all.

Link To Google Sheets:

Rows:

Columns:

License Type:

References/Notes/Attributions:

Source

Presidential Election of 2008, Electoral and Popular Vote Summary, collected on April 21, 2011 from http://www.infoplease.com/us/government/presidential-election-vote-summary.html

R Dataset Upload:

Use the following R code to directly access this dataset in R.

d <- read.csv("https://www.key2stats.com/Election_results_for_the_2008_U_S.csv")

R Coding Interface:


Datasets Tag Questions & Instructional Blocks

NumberContentType
No results found.