year                                  office election         subject       party   votes
0  2002  queen anne 's county state 's attorney  general  frank kratovil  democratic    9169
1  2006  queen anne 's county state 's attorney  general  frank kratovil  democratic   13894
2  2008     us house , maryland 's 1st district  primary  frank kratovil  democratic   28566
3  2008     us house , maryland 's 1st district  general  frank kratovil  democratic  177065
4  2010     us house , maryland 's 1st district  general     andy harris  republican  155118

Table as JSON:
{"year":{"0":2002,"1":2006,"2":2008,"3":2008,"4":2010},"office":{"0":"queen anne 's county state 's attorney","1":"queen anne 's county state 's attorney","2":"us house , maryland 's 1st district","3":"us house , maryland 's 1st district","4":"us house , maryland 's 1st district"},"election":{"0":"general","1":"general","2":"primary","3":"general","4":"general"},"subject":{"0":"frank kratovil","1":"frank kratovil","2":"frank kratovil","3":"frank kratovil","4":"andy harris"},"party":{"0":"democratic","1":"democratic","2":"democratic","3":"democratic","4":"republican"},"votes":{"0":9169,"1":13894,"2":28566,"3":177065,"4":155118}}