Open aih opened 5 years ago
@aih - something else you could look at would be to use the package summary or mods metadata from the associated PLAW package. PL 116-11 isn’t currently available on govinfo, but here’s an example from 116-10:
https://api.govinfo.gov/packages/PLAW-116publ10/summary?api_key=DEMO_KEY
See the references element. "references":[{"collectionCode":"STATUTE","contents":[{"title":"133","label":"Stat.","pages":["840","841","842"]}],"collectionName":"Statutes at Large"}]
@jonquandt, this is great! Is there a way to make sure these are as up to date as the notifications here: https://www.archives.gov/federal-register/laws/current.html ? Timeliness is important for our application (at the LRC).
Just bumping this issue again, as I'm updating our scraper to work with the very useful textVersions
field in the BILLSTATUS
documents. That document also now has the laws
field.
If possible, having the starting stat page in that document would put everything we need in one place and avoid having to GET another page related to the same document. This is particularly relevant since the statpage gets updated after the bill becomes a law, and we already look for updates to any BILLSTATUS
documents.
Also, fwiw, we'd only need the starting page, though I could see the data including start page and length of the statute.
Apparently, the information is available even more timely here: https://listserv.gsa.gov/cgi-bin/wa.exe?A0=PUBLAWS-L
It would be very useful to have access the initial statpage number for any public law once it is assigned by the OFR. The data is available on individual email/webpages here: https://www.archives.gov/federal-register/laws/current.html
Below, for example, is the update for P.L. 116-11. It includes the page that the P.L. will be placed in the Statutes (133 Stat. 843). This item could be added to the 'laws' element or as its own element in the Bill Status.