united states house of representatives elections , 1986
in the 1986 election for united states house of representatives , four of the candidates were from the democratic party .
{'scope': 'all', 'criterion': 'equal', 'value': 'democratic', 'result': '4', 'col': '3', 'subset': None}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'party', 'democratic'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose party record fuzzily matches to democratic .', 'tostr': 'filter_eq { all_rows ; party ; democratic }'}], 'result': '4', 'ind': 1, 'tostr': 'count { filter_eq { all_rows ; party ; democratic } }', 'tointer': 'select the rows whose party record fuzzily matches to democratic . the number of such rows is 4 .'}, '4'], 'result': True, 'ind': 2, 'tostr': 'eq { count { filter_eq { all_rows ; party ; democratic } } ; 4 } = true', 'tointer': 'select the rows whose party record fuzzily matches to democratic . the number of such rows is 4 .'}
eq { count { filter_eq { all_rows ; party ; democratic } } ; 4 } = true
select the rows whose party record fuzzily matches to democratic . the number of such rows is 4 .
{'eq_2': 'eq', 'result_3': 'true', 'count_1': 'count', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_4': 'all_rows', 'party_5': 'party', 'democratic_6': 'democratic', '4_7': '4'}
['district', 'incumbent', 'party', 'first elected', 'result', 'candidates']
[['pennsylvania 6', 'gus yatron', 'democratic', '1968', 're - elected', 'gus yatron ( d ) 69.1 % norm bertasavage ( r ) 30.9 %'], ['pennsylvania 7', 'robert w edgar', 'democratic', '1974', 'retired to run for u s senate republican gain', 'curt weldon ( r ) 61.3 % bill spingler ( d ) 38.7 %'], ['pennsylvania 9', 'bud shuster', 'republican', '1972', 're - elected', 'bud shuster ( r ) unopposed'], ['pennsylvania 12', 'john murtha', 'democratic', '1974', 're - elected', 'john murtha ( d ) 67.4 % kathy holtzman ( r ) 32.6 %'], ['pennsylvania 15', 'donald l ritter', 'republican', '1978', 're - elected', 'donald l ritter ( r ) 56.8 % joe simonetta ( d ) 43.2 %'], ['pennsylvania 17', 'george gekas', 'republican', '1982', 're - elected', 'george gekas ( r ) 73.6 % michael s ogden ( d ) 26.4 %'], ['pennsylvania 18', 'doug walgren', 'democratic', '1976', 're - elected', 'doug walgren ( d ) 63.0 % ernie buckman ( r ) 37.0 %'], ['pennsylvania 21', 'tom ridge', 'republican', '1982', 're - elected', 'tom ridge ( r ) 80.9 % joylyn blackwell ( d ) 19.1 %']]