united states house of representatives elections , 1828
five of the incumbents were re-elected in the 1828 election .
{'scope': 'all', 'criterion': 'fuzzily_match', 'value': 're-elected', 'result': '5', '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': '5', '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 5 .'}, '5'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; result ; re-elected } } ; 5 } = true', 'tointer': 'select the rows whose result record fuzzily matches to re-elected . the number of such rows is 5 .'}
eq { count { filter_eq { all_rows ; result ; re-elected } } ; 5 } = true
select the rows whose result record fuzzily matches to re-elected . the number of such rows is 5 .
{'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', '5_7': '5'}
['district', 'incumbent', 'party', 'first elected', 'result', 'candidates']
[['south carolina 1', 'william drayton', 'jacksonian', '1825 ( special )', 're - elected', 'william drayton ( j )'], ['south carolina 2', 'james hamilton , jr', 'jacksonian', '1822 ( special )', 'retired jacksonian hold', 'robert w barnwell ( j )'], ['south carolina 3', 'thomas r mitchell', 'jacksonian', '1820 1824', 'lost re - election jacksonian hold', 'john campbell ( j ) thomas r mitchell ( j )'], ['south carolina 4', 'william d martin', 'jacksonian', '1826', 're - elected', 'william d martin ( j )'], ['south carolina 5', 'george mcduffie', 'jacksonian', '1820', 're - elected', 'george mcduffie ( j )'], ['south carolina 6', 'warren r davis', 'jacksonian', '1826', 're - elected', 'warren r davis ( j ) 76.1 % cobb 23.9 %'], ['south carolina 7', 'william t nuckolls', 'jacksonian', '1826', 're - elected', 'william t nuckolls ( j )']]