united states house of representatives elections , 1810
2 incumbents were re - elected in the 1810 united states house of representatives elections .
{'scope': 'all', 'criterion': 'equal', 'value': 're - elected', 'result': '2', 'col': '5', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'result', 're - elected'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose result record fuzzily matches to re - elected .', 'tostr': 'filter_eq { all_rows ; result ; re - elected }'}], 'result': '2', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; result ; re - elected } }', 'tointer': 'select the rows whose result record fuzzily matches to re - elected . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; result ; re - elected } } ; 2 } = true', 'tointer': 'select the rows whose result record fuzzily matches to re - elected . the number of such rows is 2 .'}
eq { count { filter_eq { all_rows ; result ; re - elected } } ; 2 } = true
select the rows whose result record fuzzily matches to re - elected . the number of such rows is 2 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'result_5': 'result', 're - elected_6': 're - elected', '2_7': '2'}
['district', 'incumbent', 'party', 'first elected', 'result', 'candidates']
[['new york 1', 'samuel riker', 'democratic - republican', '1806', 'retired democratic - republican hold', 'ebenezer sage ( dr ) 93.5 % david gardiner ( f ) 6.5 %'], ['new york 5', 'barent gardenier', 'federalist', '1806', 'retired democratic - republican gain', 'thomas b cooke ( dr ) 52.1 % gerrit abeel ( f ) 47.9 %'], ['new york 8', 'john thompson', 'democratic - republican', '1806', 'retired democratic - republican hold', 'benjamin pond ( dr ) 57.6 % james mccrea ( f ) 42.4 %'], ['new york 10', 'john nicholson', 'democratic - republican', '1808', 'retired democratic - republican hold', 'silas stow ( dr ) 51.3 % simeon ford ( f ) 48.7 %'], ['new york 11', 'thomas r gold', 'federalist', '1808', 're - elected', 'thomas r gold ( f ) 52.6 % thomas skinner ( dr ) 47.4 %'], ['new york 12', 'erastus root', 'democratic - republican', '1808', 'retired democratic - republican hold', 'arunah metcalf ( dr ) 56.2 % john m bowers ( f ) 43.8 %'], ['new york 13', 'uri tracy', 'democratic - republican', '1808', 're - elected', 'uri tracy ( dr ) 60.2 % nathaniel waldron ( f ) 39.8 %']]