Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incoming bill actions now have either <committee> or <committees> nodes
Starting on Dec. 13 I started getting 689 bills (in the 116th Congress) with "committees" instead of "committee" in actions in the incoming GPO bulk data XML files. (Example: [HR 3](https://www.govinfo.gov/bulkdata/BILLSTATUS/116/hr/BILLSTATUS-116hr3.xml)) It looks like currently 1,897 bills have this change. It appears that the data format change described at usgpo/bill-status#147 was published early, and only in some bills. Thankfully, our JSON data format for bills already held a list of committee codes, so no change to our data format was needed. Once GPO has refreshed all of the bulk data files with the new <committees/> format, this code can be simplified to remove the <committee> case. Fixes #245.
- Loading branch information