united states house of representatives elections , 1828
james hamilton jr. was the only incumbent who retired .
{'scope': 'all', 'row': '2', 'col': '5', 'col_other': '2', 'criterion': 'equal', 'value': 'retired', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'result', 'retired'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose result record fuzzily matches to retired .', 'tostr': 'filter_eq { all_rows ; result ; retired }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; result ; retired } }', 'tointer': 'select the rows whose result record fuzzily matches to retired . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'result', 'retired'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose result record fuzzily matches to retired .', 'tostr': 'filter_eq { all_rows ; result ; retired }'}, 'incumbent'], 'result': 'james hamilton , jr', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; result ; retired } ; incumbent }'}, 'james hamilton , jr'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; result ; retired } ; incumbent } ; james hamilton , jr }', 'tointer': 'the incumbent record of this unqiue row is james hamilton , jr .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; result ; retired } } ; eq { hop { filter_eq { all_rows ; result ; retired } ; incumbent } ; james hamilton , jr } } = true', 'tointer': 'select the rows whose result record fuzzily matches to retired . there is only one such row in the table . the incumbent record of this unqiue row is james hamilton , jr .'}
and { only { filter_eq { all_rows ; result ; retired } } ; eq { hop { filter_eq { all_rows ; result ; retired } ; incumbent } ; james hamilton , jr } } = true
select the rows whose result record fuzzily matches to retired . there is only one such row in the table . the incumbent record of this unqiue row is james hamilton , jr .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'result_7': 'result', 'retired_8': 'retired', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'incumbent_9': 'incumbent', 'james hamilton , jr_10': 'james hamilton , jr'}
['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 )']]