Election results for the 2008 U.S. Presidential race
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.
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
Use the following R code to directly access this dataset in R.