Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put amendment details on (at least Senate) votes #96

Closed
konklone opened this issue Aug 5, 2017 · 6 comments
Closed

Put amendment details on (at least Senate) votes #96

konklone opened this issue Aug 5, 2017 · 6 comments

Comments

@konklone
Copy link
Contributor

konklone commented Aug 5, 2017

The vote lists have bill objects with title and bill_id fields, which is very helpful at displaying context around a vote.

The Senate has amendment information associated with a vote, which would be helpful to include in an amendment field. For example:

https://www.senate.gov/legislative/LIS/roll_call_votes/vote1151/vote_115_1_00017.xml

<amendment>
<amendment_number>S.Amdt. 179</amendment_number>
<amendment_to_amendment_number/>
<amendment_to_amendment_to_amendment_number/>
<amendment_to_document_number>S.Con.Res. 3</amendment_to_document_number>
<amendment_to_document_short_title>No short title on file</amendment_to_document_short_title>
<amendment_purpose>
To establish a deficit-neutral reserve fund relating to reforming housing and Medicaid without prioritizing able-bodied adults over the disabled or raiding the Medicare Trust Funds to pay for new government programs, like Obamacare, which has failed Americans by increasing premiums and reducing affordable health care opportunities.
</amendment_purpose>
</amendment>

Getting the amendment ID, associated bill ID, and amendment purpose onto the vote object in vote list endpoints would be very helpful for clients wanting to show what a vote was about.

@dwillis
Copy link
Collaborator

dwillis commented Aug 24, 2017

@konklone The amendment purpose is already displayed in the description attribute of vote responses, and they also have associated bill information, too. Adding the amendment ID seems like a no brainer.

@dwillis
Copy link
Collaborator

dwillis commented Aug 25, 2017

@konklone Ok, I've sketched out an amendment attribute for House and Senate votes - the latter works fine, but there are a number of House amendments that it is not possible to programmatically connect them to their actual amendment object due to the way that the House identifies them in vote data. Thoughts on how to handle these?

@konklone
Copy link
Contributor Author

@konklone Ok, I've sketched out an amendment attribute for House and Senate votes - the latter works fine, but there are a number of House amendments that it is not possible to programmatically connect them to their actual amendment object due to the way that the House identifies them in vote data. Thoughts on how to handle these?

We used to connect these at Sunlight by cross-referencing data sources, using the unitedstates bill data gatherer and the House vote data:

I left Sunlight before the THOMAS->USGPO switch happened, so I never fully validated the current stack, but the general approach should still be sound.

@dwillis
Copy link
Collaborator

dwillis commented Aug 28, 2017

That general approach is solid, but it's not perfect. For example, take House vote 431 this year, on an amendment from Brendan Boyle: http://clerk.house.gov/evs/2017/roll431.xml

The House vote data only refers to it as No. 12, while the GPO file assigns it number 261 and makes no reference to No. 12 in the amendment purpose or description, as it does for other amendments. In my tests, there are > 100 House amendments in this situation in the current Congress. There's no obvious way to connect them that's not manual.

@dwillis
Copy link
Collaborator

dwillis commented Aug 29, 2017

We've added this, with the caveat that not every amendment vote will have those details due to the issue above. I've opened an issue with the GPO and will see what they say.

@konklone
Copy link
Contributor Author

Thank you!

@dwillis dwillis closed this as completed Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants