Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML file updates for bills after a Congress ends #243

Open
sibiliab opened this issue Sep 22, 2024 · 2 comments
Open

XML file updates for bills after a Congress ends #243

sibiliab opened this issue Sep 22, 2024 · 2 comments
Assignees

Comments

@sibiliab
Copy link

Hi,

Is it possible for bill status xml files from previous Congresses to update once the new Congress starts? For example, here's HR 1916 from the 117th Congress. That Congress would've ended around the end of Dec. 2022. The most recent update date for the xml file is 3/8/2023, which occurred during the 118th Congress.

It definitely seems like it's possible for bill status xml files to update after the end of a Congress, but want to confirm. If they can be updated, do you know for what period of time that is? Is it any period of time or something like 12 months? Also, can you please define the difference between the updateDate tag on an individual xml file and the Last Modified Date displayed on the complete list of bill statuses for a Congress? Is the Last Modified Date maybe when the update job was last run, regardless of whether or not the file itself was updated?

Thank you!

@llaplant
Copy link
Member

Yes, it is possible for Bill Status XML files from previous Congresses to be updated after the start of a new Congress. For the Bill Status collection on GovInfo, GPO pulls data from the Congress.gov API. We periodically refresh the data set based updates to the data at the Library of Congress. Note, the current Congress job runs at 4, 8, and 12 every 4 hours; prior Congresses run daily. The updateDate tag within an XML file is provided by the Library of Congress as part of the Congress.gov API response data. The Last Modified Date displayed on GovInfo corresponds to when the Bill Status XML file was processed and published on GovInfo.

@llaplant llaplant self-assigned this Sep 23, 2024
@JoshData
Copy link

Just to give an example- Bills can become enacted after the end of a Congress because the president has ~10 days to sign legislation, and that will be reflected in the XML. As I recall, this is actually fairly common because of the rush to pass legislation right before the end of a Congress. I think I have also seen corrections to cosponsor lists after the end of a Congress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants