|
|
__init__(self,
billid=None,
party=None,
ideology=None)
Class variables provided outside the class |
source code
|
|
|
|
get_party(self)
Return party that introduced bill |
source code
|
|
|
|
|
|
|
|
|
|
get_record(self)
Return agent voting record of bill |
source code
|
|
|
|
|
|
|
set_party(self,
party_input)
Assign party that introduced bill |
source code
|
|
|
|
set_ideology(self,
ideology_input)
Assign bill ideology |
source code
|
|
|
|
set_passage(self,
pass_bool)
Set True if bill passed |
source code
|
|
|
|
add_record(self,
agent,
vote)
Add to bill voting record, keys: TwoPartyAgent, values: binary |
source code
|
|
|
|
num_liberal_yays(self)
return number of liberal yay votes |
source code
|
|
|
|
num_conservative_yays(self)
return number of conservative yay votes |
source code
|
|
|
|
|