openstates / issues

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

USA: Roll Call #1170

Closed NewAgeAirbender closed 6 months ago

NewAgeAirbender commented 6 months ago

We scrape Senate & House sites separately & both scrapers seem a little out of date. Investigated & we can rewrite the scraper to process votes in the Bill scrape:

HB 2882 has this XML data page that we scrape for the Bill data already & looks like actions have items that include recordedVotes objects that contain a url that is the correct link to an XML page with the rollcall on it (ex. Roll 32 on 2/5). Pretty sure we can add a scrape_votes function in & call it if there are recordedVotes objects when the scraper is in scrape_actions. Need the vote type counts & how each legislator voted.

braykuka commented 6 months ago

@NewAgeAirbender I will work on it.