united states house of representatives elections , 1816
2 incumbents were re - elected during the 1816 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 3', 'jonathan ward', 'democratic - republican', '1814', 'retired democratic - republican hold', 'caleb tompkins ( dr ) 56.8 % abraham odell ( f ) 42.8 %'], ['new york 6', 'james w wilkin', 'democratic - republican', '1815 ( special )', 're - elected', 'james w wilkin ( dr ) 55.4 % james burt ( f ) 44.6 %'], ['new york 7', 'samuel r betts', 'democratic - republican', '1814', 'retired democratic - republican hold', 'josiah hasbrouck ( dr ) 51.7 % john sudam ( f ) 48.2 %'], ['new york 10', 'hosea moffitt', 'federalist', '1812', 'retired federalist hold', 'john p cushman ( f ) 54.9 % thomas turner ( dr ) 44.9 %'], ['new york 11', 'john w taylor', 'democratic - republican', '1812', 're - elected', 'john w taylor ( dr ) 53.4 % elisha powell ( f ) 46.6 %'], ['new york 13', 'john b yates', 'democratic - republican', '1814', 'retired democratic - republican hold', 'thomas lawyer ( dr ) 54.9 % william beekman ( f ) 45.1 %'], ['new york 17', 'westel willoughby , jr', 'federalist', '1814', 'retired democratic - republican gain', 'thomas h hubbard ( dr ) 51.5 % simeon ford ( f ) 48.4 %'], ['new york 18', 'moss kent', 'federalist', '1812', 'retired federalist hold', 'david a ogden ( f ) 50.4 % ela collins ( dr ) 49.5 %']]