name  election year                        party               birth state       resident state
0   charles cotesworth pinckney           1804                   federalist       lost south carolina  lost south carolina
1   charles cotesworth pinckney           1808                   federalist       lost south carolina  lost south carolina
2                    rufus king           1816                   federalist         won massachusetts        lost new york
3                    henry clay           1824      democratic - republican             lost virginia         won kentucky
4                    henry clay           1832          national republican             lost virginia         won kentucky
5                  william wirt           1832               anti - masonic             lost maryland        lost maryland
6        william henry harrison           1836                         whig             lost virginia             won ohio
7             hugh lawson white           1836                         whig       lost north carolina        won tennessee
8                daniel webster           1836                         whig        lost new hampshire    won massachusetts
9          willie person mangum           1836                         whig       lost north carolina  lost north carolina
10             martin van buren           1840                     democrat             lost new york        lost new york
11                   henry clay           1844                         whig             lost virginia         won kentucky
12               winfield scott           1852                         whig             lost virginia      lost new jersey
13               john c frãmont           1856                   republican              lost georgia      lost california
14             millard fillmore           1856               know - nothing             lost new york        lost new york
15            stephen a douglas           1860                     democrat              lost vermont        lost illinois
16          john c breckinridge           1860            southern democrat             lost kentucky        lost kentucky
17           george b mcclellan           1864                     democrat         lost pennsylvania       won new jersey
18               horace greeley           1872  liberal republican democrat        lost new hampshire        lost new york
19       winfield scott hancock           1880                     democrat         lost pennsylvania    lost pennsylvania
20             grover cleveland           1888                     democrat            won new jersey        lost new york
21            benjamin harrison           1892                   republican                  won ohio         lost indiana
22               james b weaver           1892                     populist                 lost ohio            lost iowa
23       william jennings bryan           1896          democrat - populist             lost illinois         won nebraska
24       william jennings bryan           1900          democrat - populist             lost illinois        lost nebraska
25               alton b parker           1904                     democrat             lost new york        lost new york
26       william jennings bryan           1908                     democrat             lost illinois         won nebraska
27           theodore roosevelt           1912                  progressive             lost new york        lost new york
28          william howard taft           1912                   republican                 lost ohio            lost ohio
29                  james m cox           1920                     democrat                 lost ohio            lost ohio
30                 john w davis           1924                     democrat        lost west virginia        lost new york
31                     al smith           1928                     democrat             lost new york        lost new york
32               herbert hoover           1932                   republican                 lost iowa      lost california
33                   alf landon           1936                   republican         lost pennsylvania          lost kansas
34               thomas e dewey           1944                   republican             lost michigan        lost new york
35              adlai stevenson           1952                     democrat           lost california        lost illinois
36              adlai stevenson           1956                     democrat           lost california        lost illinois
37              hubert humphrey           1968                     democrat         lost south dakota        won minnesota
38              george mcgovern           1972                     democrat         lost south dakota    lost south dakota
39                  gerald ford           1976                   republican              won nebraska         won michigan
40              george h w bush           1992                   republican        lost massachusetts            won texas
41                      al gore           2000                     democrat  won district of columbia       lost tennessee
42                   john kerry           2004                     democrat             lost colorado    won massachusetts
43                  john mccain           2008                   republican                     n / a          won arizona
44                  mitt romney           2012                   republican             lost michigan   lost massachusetts

Table as JSON:
{"name":{"0":"charles cotesworth pinckney","1":"charles cotesworth pinckney","2":"rufus king","3":"henry clay","4":"henry clay","5":"william wirt","6":"william henry harrison","7":"hugh lawson white","8":"daniel webster","9":"willie person mangum","10":"martin van buren","11":"henry clay","12":"winfield scott","13":"john c frãmont","14":"millard fillmore","15":"stephen a douglas","16":"john c breckinridge","17":"george b mcclellan","18":"horace greeley","19":"winfield scott hancock","20":"grover cleveland","21":"benjamin harrison","22":"james b weaver","23":"william jennings bryan","24":"william jennings bryan","25":"alton b parker","26":"william jennings bryan","27":"theodore roosevelt","28":"william howard taft","29":"james m cox","30":"john w davis","31":"al smith","32":"herbert hoover","33":"alf landon","34":"thomas e dewey","35":"adlai stevenson","36":"adlai stevenson","37":"hubert humphrey","38":"george mcgovern","39":"gerald ford","40":"george h w bush","41":"al gore","42":"john kerry","43":"john mccain","44":"mitt romney"},"election year":{"0":1804,"1":1808,"2":1816,"3":1824,"4":1832,"5":1832,"6":1836,"7":1836,"8":1836,"9":1836,"10":1840,"11":1844,"12":1852,"13":1856,"14":1856,"15":1860,"16":1860,"17":1864,"18":1872,"19":1880,"20":1888,"21":1892,"22":1892,"23":1896,"24":1900,"25":1904,"26":1908,"27":1912,"28":1912,"29":1920,"30":1924,"31":1928,"32":1932,"33":1936,"34":1944,"35":1952,"36":1956,"37":1968,"38":1972,"39":1976,"40":1992,"41":2000,"42":2004,"43":2008,"44":2012},"party":{"0":"federalist","1":"federalist","2":"federalist","3":"democratic - republican","4":"national republican","5":"anti - masonic","6":"whig","7":"whig","8":"whig","9":"whig","10":"democrat","11":"whig","12":"whig","13":"republican","14":"know - nothing","15":"democrat","16":"southern democrat","17":"democrat","18":"liberal republican democrat","19":"democrat","20":"democrat","21":"republican","22":"populist","23":"democrat - populist","24":"democrat - populist","25":"democrat","26":"democrat","27":"progressive","28":"republican","29":"democrat","30":"democrat","31":"democrat","32":"republican","33":"republican","34":"republican","35":"democrat","36":"democrat","37":"democrat","38":"democrat","39":"republican","40":"republican","41":"democrat","42":"democrat","43":"republican","44":"republican"},"birth state":{"0":"lost south carolina","1":"lost south carolina","2":"won massachusetts","3":"lost virginia","4":"lost virginia","5":"lost maryland","6":"lost virginia","7":"lost north carolina","8":"lost new hampshire","9":"lost north carolina","10":"lost new york","11":"lost virginia","12":"lost virginia","13":"lost georgia","14":"lost new york","15":"lost vermont","16":"lost kentucky","17":"lost pennsylvania","18":"lost new hampshire","19":"lost pennsylvania","20":"won new jersey","21":"won ohio","22":"lost ohio","23":"lost illinois","24":"lost illinois","25":"lost new york","26":"lost illinois","27":"lost new york","28":"lost ohio","29":"lost ohio","30":"lost west virginia","31":"lost new york","32":"lost iowa","33":"lost pennsylvania","34":"lost michigan","35":"lost california","36":"lost california","37":"lost south dakota","38":"lost south dakota","39":"won nebraska","40":"lost massachusetts","41":"won district of columbia","42":"lost colorado","43":"n \/ a","44":"lost michigan"},"resident state":{"0":"lost south carolina","1":"lost south carolina","2":"lost new york","3":"won kentucky","4":"won kentucky","5":"lost maryland","6":"won ohio","7":"won tennessee","8":"won massachusetts","9":"lost north carolina","10":"lost new york","11":"won kentucky","12":"lost new jersey","13":"lost california","14":"lost new york","15":"lost illinois","16":"lost kentucky","17":"won new jersey","18":"lost new york","19":"lost pennsylvania","20":"lost new york","21":"lost indiana","22":"lost iowa","23":"won nebraska","24":"lost nebraska","25":"lost new york","26":"won nebraska","27":"lost new york","28":"lost ohio","29":"lost ohio","30":"lost new york","31":"lost new york","32":"lost california","33":"lost kansas","34":"lost new york","35":"lost illinois","36":"lost illinois","37":"won minnesota","38":"lost south dakota","39":"won michigan","40":"won texas","41":"lost tennessee","42":"won massachusetts","43":"won arizona","44":"lost massachusetts"}}