This dataset was taken from the list of OpenIntro dataset files found at https://www.openintro.org/data/.
OpenIntro features a number of free books that can be used in high school and AP statistics courses. The license on these datasets is currently unknown. You can find out more about OpenIntro at https://www.openintro.org.
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
Presidential Election of 2008, Electoral and Popular Vote Summary,collected on April 21, 2011 fromhttp://www.infoplease.com/us/government/presidential-election-vote-summary.html
In Nebraska, 4 electoral votes went to McCain and 1 to Obama. Otherwise theelectoral votes were a winner-take-all.
Taken from: https://www.openintro.org/data/index.php?data=prrace08.