united states house of representatives elections , 1904
among the incumbents that were re-elected during united states house of representatives elections , 1904 , two of them were first elected in 1902 .
{'scope': 'subset', 'criterion': 'equal', 'value': '1902', 'result': '2', 'col': '4', 'subset': {'col': '5', 'criterion': 'equal', 'value': 're - elected'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'result', 're - elected'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; result ; re - elected }', 'tointer': 'select the rows whose result record fuzzily matches to re - elected .'}, 'first elected', '1902'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose result record fuzzily matches to re - elected . among these rows , select the rows whose first elected record is equal to 1902 .', 'tostr': 'filter_eq { filter_eq { all_rows ; result ; re - elected } ; first elected ; 1902 }'}], 'result': '2', 'ind': 2, 'tostr': 'count { filter_eq { filter_eq { all_rows ; result ; re - elected } ; first elected ; 1902 } }', 'tointer': 'select the rows whose result record fuzzily matches to re - elected . among these rows , select the rows whose first elected record is equal to 1902 . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_eq { all_rows ; result ; re - elected } ; first elected ; 1902 } } ; 2 } = true', 'tointer': 'select the rows whose result record fuzzily matches to re - elected . among these rows , select the rows whose first elected record is equal to 1902 . the number of such rows is 2 .'}
eq { count { filter_eq { filter_eq { all_rows ; result ; re - elected } ; first elected ; 1902 } } ; 2 } = true
select the rows whose result record fuzzily matches to re - elected . among these rows , select the rows whose first elected record is equal to 1902 . the number of such rows is 2 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_eq_1': 'filter_eq', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_5': 'all_rows', 'result_6': 'result', 're - elected_7': 're - elected', 'first elected_8': 'first elected', '1902_9': '1902', '2_10': '2'}
['district', 'incumbent', 'party', 'first elected', 'result']
[['south carolina 1', 'george swinton legarã', 'democratic', '1902', 're - elected'], ['south carolina 2', 'george w croft', 'democratic', '1902', 'retired democratic hold'], ['south carolina 3', 'wyatt aiken', 'democratic', '1902', 're - elected'], ['south carolina 4', 'joseph t johnson', 'democratic', '1900', 're - elected'], ['south carolina 5', 'david e finley', 'democratic', '1898', 're - elected'], ['south carolina 6', 'robert b scarborough', 'democratic', '1900', 'retired democratic hold'], ['south carolina 7', 'asbury f lever', 'democratic', '1901 ( special )', 're - elected']]