openstates / issues

Having trouble? Looking to contribute? Issues live here!
15 stars 2 forks source link

GA - Bills do not have voting data from both chambers #468

Open DJQuez opened 3 years ago

DJQuez commented 3 years ago

Issue Description: So far the GA Bills I have checked through the openstates website and V3 API do not contain the voting data for both chambers. If it is a House Bill there is only house voting data even if the senate has voted on the bill. The vice versa is also true. Senate Bills only contain Senate voting data even if the house has voted on the Bill.

URL where this issue may be seen (API or OpenStates.org):

Here are some of the Georgia Bills I have checked both using the site and pulling data from the V3 API:

HB112 - Shows voted on and passed by house and senate but only has house vote data https://openstates.org/ga/bills/2021_22/HB112/

HB 307 - Shows voted on and passed by house and senate but only has house vote data https://openstates.org/ga/bills/2021_22/HB307/

SB 185 - Shows passed in house and senate but only has senate vote data https://openstates.org/ga/bills/2021_22/SB185/

Source URL of correct data if applicable:

The site says it is getting the updates from Georgia General Assembly. When I look at that Georgia General Assembly site they have the voting data for both chambers for each bill:

HB 112 - https://www.legis.ga.gov/legislation/58959 HB 307 - https://www.legis.ga.gov/legislation/59349 SB 185 - https://www.legis.ga.gov/legislation/59714

showerst commented 3 years ago

This looks like a scraper error, thanks for flagging.

FYI in case any other OS people get to this, I ran the scraper with a print(instruments) above the vote parser, and they're in the API response correctly. -- i think we're not iterating over the votes in bills.py and just returning the first one.

DJQuez commented 1 year ago

Hello, It about that time where we update our site with the next sessions data and I noticed this issue has not been resolved.

Example - SB 211 Openstates: https://openstates.org/ga/bills/2023_24/SB211/ GA Chamber: https://www.legis.ga.gov/legislation/64512