34th united states congress
josã m gallegos ( d ) was the only vacator whose change was due to a contested election on july 23 , 1856 .
{'scope': 'all', 'row': '3', 'col': '3', 'col_other': '2', 'criterion': 'equal', 'value': 'contested election', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'reason for change', 'contested election'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose reason for change record fuzzily matches to contested election .', 'tostr': 'filter_eq { all_rows ; reason for change ; contested election }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; reason for change ; contested election } }', 'tointer': 'select the rows whose reason for change record fuzzily matches to contested election . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'reason for change', 'contested election'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose reason for change record fuzzily matches to contested election .', 'tostr': 'filter_eq { all_rows ; reason for change ; contested election }'}, 'vacator'], 'result': 'josã m gallegos ( d )', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; reason for change ; contested election } ; vacator }'}, 'josã m gallegos ( d )'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; reason for change ; contested election } ; vacator } ; josã m gallegos ( d ) }', 'tointer': 'the vacator record of this unqiue row is josã m gallegos ( d ) .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; reason for change ; contested election } } ; eq { hop { filter_eq { all_rows ; reason for change ; contested election } ; vacator } ; josã m gallegos ( d ) } } = true', 'tointer': 'select the rows whose reason for change record fuzzily matches to contested election . there is only one such row in the table . the vacator record of this unqiue row is josã m gallegos ( d ) .'}
and { only { filter_eq { all_rows ; reason for change ; contested election } } ; eq { hop { filter_eq { all_rows ; reason for change ; contested election } ; vacator } ; josã m gallegos ( d ) } } = true
select the rows whose reason for change record fuzzily matches to contested election . there is only one such row in the table . the vacator record of this unqiue row is josã m gallegos ( d ) .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'reason for change_7': 'reason for change', 'contested election_8': 'contested election', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'vacator_9': 'vacator', 'josã m gallegos ( d )_10': 'josã m gallegos ( d )'}
['district', 'vacator', 'reason for change', 'successor', 'date successor seated']
[['missouri 5th', 'john g miller ( o )', 'died may 11 , 1856', 'thomas p akers ( kn )', 'seated august 18 , 1856'], ['virginia 1st', 'thomas h bayly ( d )', 'died june 23 , 1856', 'muscoe r h garnett ( d )', 'seated december 1 , 1856'], ['new mexico territory at - large', 'josã m gallegos ( d )', 'contested election july 23 , 1856', 'miguel a otero ( d )', 'seated july 23 , 1856'], ['vermont 1st', 'james meacham ( o )', 'died august 23 , 1856', 'george t hodges ( r )', 'seated december 1 , 1856'], ['illinois 5th', 'william a richardson ( d )', 'resigned august 25 , 1856', 'jacob c davis ( d )', 'seated november 4 , 1856'], ['south carolina 4th', 'preston brooks ( d )', 'died january 28 , 1857', 'vacant', 'not filled this term'], ['new york 20th', 'orsamus b matteson ( o )', 'resigned february 27 , 1857', 'vacant', 'not filled this term'], ['new york 23rd', 'william a gilbert ( o )', 'resigned february 27 , 1857', 'vacant', 'not filled this term']]