Adds ids mapping to GPO's Pictorial Member Guide
pictorialapi.gpo.gov
This PR includes ids for all members of 118th Congress. It may also work
for historical files -- at least going back to 110 -- but I have not
included that work here, as it requires manual fixes and I imagine most
interest is in current membership.
Closes#942
Data from https://www.senate.gov/senators/AppointedSenators.htm. Where the appointment date was after our term start date, the term start date is updated. (In other cases I presume our term start date to correctly reflect the swearing-in date or the start of the session.) Where there was ambiguity on the Senate page about appointment date versus effective date, I used the effective date.
see #41
* merged generate_json.py and alternate_bulk_formats.py and generate pretty JSON
* have them write to ../ rather than ../alternate_formats
* delete the old bulk data files since they'll be in gh-pages
* add CircleCI file to manage this
* add scripts/update_gh_pages.sh which updates the gh-pages branch with the latest bulk data files in multiple formats
* remove test/test_json_matches.py because it's no longer needed
* add links to downloadable files in README
Some times Members of Congress change party during a term. We previously only had a single party field which captured their party at the end of of the term (though this wasn't always correct).
I asked @lorien to scan the roll call vote data for party changes (suggested by @joec). Then he realized the same information (and more) is in Bioguide. This adds the party change data, and also corrects several incorrect term `party` values.
The new `party_affiliations` field is present if the legislator changed party affiliation during the term. The value is a list of time periods, with `start` and `end` dates, each of which has a `party` value. The time periods cover the entire term, so the first `start` will match the term `start` and the last `end` will match the term `end` as well as the term `party`.
fixes#171