unitedstates / congress-legislators

Members of the United States Congress, 1789-Present, in YAML/JSON/CSV, as well as committees, presidents, and vice presidents.
Creative Commons Zero v1.0 Universal
2.06k stars 505 forks source link

icpsr ids - fix issue #601 #698

Closed asebold closed 5 years ago

asebold commented 5 years ago

Fixes #601 Current urls for getting Vote View data are being depreciated. This PR updates the urls in icpsr_ids.py script to adhere to new format. Script also had to be updated to handle the new data being returned by Vote View. Ran the script and updated icpsr ids for legislators-current.yaml. Now, the icpsr_ids.py script correctly queries Vote View and sets the icpsr id for current and historical legislators (based off congress number passed to script).

JoshData commented 5 years ago

Thank you!!