usnationalarchives / federalregister-api-core

Federal Register 2.0 API and Data Importer
https://www.federalregister.gov
Other
136 stars 34 forks source link

Part Numbers Missing From FR API Output #19

Open Aniformer opened 4 years ago

Aniformer commented 4 years ago

Hi team,

This is to bring to your attention that the FR API call made for the ID - 2019-24366 on the 14th of November 2019 contained a discrepancy. The json output for the call made at - https://www.federalregister.gov/api/v1/documents/2019-24366.json contains a field value called 'cfr_references' which usually contains all the part numbers given in the XML file for the same FR document.

The XML link for the FR document for that ID is - https://www.federalregister.gov/documents/full_text/xml/2019/11/14/2019-24366.xml

As seen in the XML link, the part numbers present in the XML link that aren't present in the FR API output are - 245a, 248, 264, 274a, 301, 319, 320, 322, 324, 334, 341, 343a, 343b, and 392.

Kindly let us know if there's any possible reason for this discrepancy in the API output.

Thanks, Anirudh

peregrinator commented 4 years ago

Hi Anirudh, the CFR references that we use in the API are based on what is marked up in the metadata MODS XML file provided by GPO, https://www.govinfo.gov/metadata/granule/FR-2019-11-14/2019-24366/mods.xml

Unfortunately it looks like not all the CFR references made it into that metadata. I'll reach out and ask for that to be fixed.

Thanks!

Aniformer commented 4 years ago

Thank you!