Skip to content

Instantly share code, notes, and snippets.

@paulgb
Created October 14, 2018 15:23
Show Gist options
  • Save paulgb/1a2a4e3f4a11030245cb1e30818586b4 to your computer and use it in GitHub Desktop.
Save paulgb/1a2a4e3f4a11030245cb1e30818586b4 to your computer and use it in GitHub Desktop.
election year winner party ec_votes ec_percent pop_percent pop_margin votes vote_margin runner_up runner_up_party turnout margin_percent ec_boost
10 1824 John Quincy Adams D.-R. 84/261 0.3218 0.30920000000000003 −10.44% 113142 -38221 Andrew Jackson D.-R. 26.90% -0.33781442788707994 0.012599999999999945
11 1828 Andrew Jackson Dem. 178/261 0.682 0.5593 12.25% 642806 140839 John Quincy Adams N. R. 57.30% 0.21910031953653203 0.12270000000000003
12 1832 Andrew Jackson Dem. 219/286 0.7656999999999999 0.5474 17.81% 702735 228628 Henry Clay N. R. 57.00% 0.3253402776295474 0.21829999999999994
13 1836 Martin Van Buren Dem. 170/294 0.5782 0.5079 14.20% 763291 213384 William Henry Harrison Whig 56.50% 0.2795578619425619 0.07030000000000003
14 1840 William Henry Harrison Whig 234/294 0.7959 0.5287 6.05% 1275583 145938 Martin Van Buren Dem. 80.30% 0.11440886245740182 0.2672000000000001
15 1844 James Polk Dem. 170/275 0.6182 0.4954 1.45% 1339570 39413 Henry Clay Whig 79.20% 0.029422127996297318 0.12279999999999996
16 1848 Zachary Taylor Whig 163/290 0.5621 0.4728 4.79% 1360235 137882 Lewis Cass Dem. 72.80% 0.10136630802765699 0.08930000000000005
17 1852 Franklin Pierce Dem. 254/296 0.8581 0.5083 6.95% 1605943 219525 Winfield Scott Whig 69.50% 0.13669538707164575 0.3498
18 1856 James Buchanan Dem. 174/296 0.5878 0.45289999999999997 12.20% 1835140 494472 John Frémont Rep. 79.40% 0.2694464727486731 0.13490000000000002
19 1860 Abraham Lincoln Rep. 180/303 0.5941 0.39649999999999996 10.13% 1855993 474049 John Breckinridge Dem. 81.80% 0.2554152952085487 0.1976
20 1864 Abraham Lincoln Rep. 212/233 0.9098999999999999 0.5503 10.08% 2211317 405090 George McClellan Dem. 76.30% 0.18318947486950085 0.3595999999999999
21 1868 Ulysses Grant Rep. 214/294 0.7279000000000001 0.5266 5.32% 3013790 304810 Horatio Seymour Dem. 80.90% 0.10113843366657929 0.20130000000000015
22 1872 Ulysses Grant Rep. 286/352 0.8125 0.5558 11.80% 3597439 763729 Horace Greeley L. R. 72.10% 0.21229797086204935 0.25670000000000004
23 1876 Rutherford Hayes Rep. 185/369 0.5014 0.4792 −3.00% 4034142 -252666 Samuel Tilden Dem. 82.60% -0.06263190537169985 0.022199999999999942
24 1880 James Garfield Rep. 214/369 0.5799 0.48310000000000003 0.09% 4453337 1898 Winfield Scott Hancock Dem. 80.50% 0.0004261972538795065 0.09679999999999994
25 1884 Grover Cleveland Dem. 219/401 0.5461 0.4885 0.57% 4914482 57579 James Blaine Rep. 78.20% 0.011716189010357552 0.05760000000000004
26 1888 Benjamin Harrison Rep. 233/401 0.581 0.478 −0.83% 5443633 -94530 Grover Cleveland Dem. 80.50% -0.017365241190947296 0.10299999999999998
27 1892 Grover Cleveland Dem. 277/444 0.6239 0.46020000000000005 3.01% 5553898 363099 Benjamin Harrison Rep. 75.80% 0.06537732597897909 0.16369999999999996
28 1896 William McKinley Rep. 271/447 0.6063000000000001 0.5102 4.31% 7112138 601331 William Jennings Bryan Dem. 79.60% 0.08454996233200199 0.09610000000000007
29 1900 William McKinley Rep. 292/447 0.6523 0.5164 6.12% 7228864 857932 William Jennings Bryan Dem. 73.70% 0.11868144151003532 0.13590000000000002
30 1904 Theodore Roosevelt Rep. 336/476 0.7059000000000001 0.5642 18.83% 7630557 2546677 Alton Brooks Parker Dem. 65.50% 0.3337471956503306 0.14170000000000005
31 1908 William Taft Rep. 321/483 0.6646 0.5157 8.53% 7678335 1269356 William Jennings Bryan Dem. 65.70% 0.16531656928227279 0.14889999999999992
32 1912 Woodrow Wilson Dem. 435/531 0.8192 0.41840000000000005 14.44% 6296284 2173563 Theodore Roosevelt Prog. 59.00% 0.34521362124071914 0.4008
33 1916 Woodrow Wilson Dem. 277/531 0.5217 0.4924 3.12% 9126868 578140 Charles Evans Hughes Rep. 61.80% 0.0633448407493129 0.029300000000000048
34 1920 Warren Harding Rep. 404/531 0.7608 0.6032 26.17% 16144093 7004432 James Cox Dem. 49.20% 0.4338696512712111 0.15760000000000007
35 1924 Calvin Coolidge Rep. 382/531 0.7193999999999999 0.5404 25.22% 15723789 7337547 John Davis Dem. 48.90% 0.4666525988106302 0.17899999999999994
36 1928 Herbert Hoover Rep. 444/531 0.8362 0.5821000000000001 17.41% 21427123 6411659 Al Smith Dem. 56.90% 0.29923097935266435 0.2541
37 1932 Franklin Roosevelt Dem. 472/531 0.8889 0.5740999999999999 17.76% 22821277 7060023 Herbert Hoover Rep. 56.90% 0.30936143494511725 0.3148000000000001
38 1936 Franklin Roosevelt Dem. 523/531 0.9849 0.608 24.26% 27752648 11070786 Alf Landon Rep. 61.00% 0.3989091779638469 0.3769
39 1940 Franklin Roosevelt Dem. 449/531 0.8456 0.5474 9.96% 27313945 4966201 Wendell Willkie Rep. 62.40% 0.18181925020351325 0.2982
40 1944 Franklin Roosevelt Dem. 432/531 0.8136 0.5339 7.50% 25612916 3594987 Thomas Dewey Rep. 55.90% 0.14035836450640762 0.27969999999999995
41 1948 Harry Truman Dem. 303/531 0.5706 0.4955 4.48% 24179347 2188055 Thomas Dewey Rep. 52.20% 0.09049272505167323 0.0751
42 1952 Dwight Eisenhower Rep. 442/531 0.8323999999999999 0.5518 10.85% 34075529 6700439 Adlai Stevenson Dem. 62.30% 0.19663492238080882 0.28059999999999996
43 1956 Dwight Eisenhower Rep. 457/531 0.8606 0.5737 15.40% 35579180 9551152 Adlai Stevenson Dem. 60.20% 0.26844778322603274 0.28690000000000004
44 1960 John Kennedy Dem. 303/537 0.5642 0.4972 0.17% 34220984 112827 Richard Nixon Rep. 63.80% 0.003297012149036977 0.06700000000000006
45 1964 Lyndon Johnson Dem. 486/538 0.9033 0.6104999999999999 22.58% 43127041 15951287 Barry Goldwater Rep. 62.80% 0.36986741102873255 0.29280000000000006
46 1968 Richard Nixon Rep. 301/538 0.5595 0.43420000000000003 0.70% 31783783 511944 Hubert Humphrey Dem. 62.50% 0.016107082029851512 0.12529999999999997
47 1972 Richard Nixon Rep. 520/538 0.9665 0.6067 23.15% 47168710 17995488 George McGovern Dem. 56.20% 0.38151325317143503 0.3598
48 1976 Jimmy Carter Dem. 297/538 0.552 0.5008 2.06% 40831881 1683247 Gerald Ford Rep. 54.80% 0.041223841732885146 0.05120000000000002
49 1980 Ronald Reagan Rep. 489/538 0.9089 0.5075 9.74% 43903230 8423115 Jimmy Carter Dem. 54.20% 0.19185638505412927 0.4014000000000001
50 1984 Ronald Reagan Rep. 525/538 0.9758 0.5877 18.21% 54455472 16878120 Walter Mondale Dem. 55.20% 0.30994350760562683 0.3881
51 1988 George H. W. Bush Rep. 426/538 0.7918000000000001 0.5337 7.72% 48886597 7077121 Michael Dukakis Dem. 52.80% 0.1447660797498341 0.2581000000000001
52 1992 Bill Clinton Dem. 370/538 0.6877 0.4301 5.56% 44909806 5805256 George H. W. Bush Rep. 58.10% 0.12926477571513 0.2576
53 1996 Bill Clinton Dem. 379/538 0.7045 0.49229999999999996 8.51% 47400125 8201370 Bob Dole Rep. 51.70% 0.17302422725678465 0.21220000000000006
54 2000 George W. Bush Rep. 271/538 0.5036999999999999 0.47869999999999996 −0.51% 50460110 -543816 Al Gore Dem. 54.20% -0.010777146542090376 0.024999999999999967
55 2004 George W. Bush Rep. 286/538 0.5316 0.5073 2.46% 62040610 3012171 John Kerry Dem. 60.10% 0.04855160192654456 0.02429999999999999
56 2008 Barack Obama Dem. 365/538 0.6784 0.5293 7.27% 69498516 9550193 John McCain Rep. 61.60% 0.13741578309384334 0.1491
57 2012 Barack Obama Dem. 332/538 0.6171 0.5106 3.86% 65915795 4982291 Mitt Romney Rep. 58.60% 0.07558569232154448 0.10649999999999993
58 2016 Donald Trump Rep. 304/538 0.565 0.4598 −2.10% 62979636 -2864974 Hillary Rodham Clinton Dem. 60.20% -0.04549048203454208 0.10519999999999996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment