Giter Club home page Giter Club logo

Comments (3)

llaplant avatar llaplant commented on July 30, 2024

Hi @relarson1 CREC MODS metadata is not available for an individual CREC book, but it is available at the package level (issue) and granule level (document). We can look at a potential future enhancement to the API if CREC metadata is refactored to add metadata for a book.

from api.

relarson1 avatar relarson1 commented on July 30, 2024

Well the metadata for the 2019/1/3 book 1 are incorrect in the api and mods file. Hopefully a future enhancement will correct them so that granules contents (bills referenced in the extension of remarks) correctly correspond to the congress they belong to :
for example:
granules in the 115th (book1) in the api report as being part of the 116th congress,
https://api.govinfo.gov/packages/CREC-2019-01-03/granules/CREC-2019-01-03-pt1-PgE1745-2/summary?api_key=DEMO_KEY

when they really should be referring to the 115th congress.

"title": "PERSONAL EXPLANATION",
"collectionCode": "CREC",
"collectionName": "Congressional Record",
"category": "Proceedings of Congress and General Congressional Publications",
"dateIssued": "2019-01-03",
"detailsLink": "https://www.govinfo.gov/app/details/CREC-2019-01-03/CREC-2019-01-03-pt1-PgE1745-2",
"granulesLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/granules?offset=0&pageSize=100",
"packageId": "CREC-2019-01-03",
"packageLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/summary",
"granuleId": "CREC-2019-01-03-pt1-PgE1745-2",
"download": {
"txtLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/granules/CREC-2019-01-03-pt1-PgE1745-2/htm",
"pdfLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/granules/CREC-2019-01-03-pt1-PgE1745-2/pdf",
"modsLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/granules/CREC-2019-01-03-pt1-PgE1745-2/mods",
"premisLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/premis",
"zipLink": "https://api.govinfo.gov/packages/CREC-2019-01-03/zip"
},
"bookNumber": "1",
"granuleClass": "EXTENSIONS",
"subGranuleClass": "PERSONALEXPLAIN",
"granuleDate": "2019-01-03",
"pagePrefix": "E",
"references": [
{
"collectionCode": "BILLS",
"collectionName": "Congressional Bills",
"contents": [
{
"congress": "116",
"type": "HR",
"number": "88"
},
[...]

mods.xml fragment:

<extension>
<searchTitle>PERSONAL EXPLANATION; Congressional Record Vol. 164, No. 208</searchTitle>
<granuleClass>EXTENSIONS</granuleClass>
<accessId>CREC-2019-01-03-pt1-PgE1745-2</accessId>
<subGranuleClass>PERSONALEXPLAIN</subGranuleClass>
<pagePrefix>E</pagePrefix>
<bookNumber>1</bookNumber>
<chamber>HOUSE</chamber>
<granuleDate>2019-01-03</granuleDate>
<bill congress="116" context="OTHER" number="88" type="HR"/>
<bill congress="116" context="OTHER" number="695" type="HR"/>
<bill congress="116" context="OTHER" number="1934" type="S"/>
<bill congress="116" context="OTHER" number="2322" type="S"/>
<bill congress="116" context="OTHER" number="7388" type="HR"/>
<congMember authorityId="1498" bioGuideId="K000188" chamber="H" congress="116" gpoId="8216" party="D" role="SPEAKING" state="WI">
<name type="parsed">Mr. KIND</name>
<name type="authority-fnf">Ron Kind</name>
<name type="authority-lnf">Kind, Ron</name>
</congMember>
</extension>

thanks

from api.

jonquandt avatar jonquandt commented on July 30, 2024

@relarson1 -- I believe this has been addressed in a recent release, as we are now distinguishing between CRECs on the same day in different sessions or congresses by appending a volume number to the packages.

For example,
CREC-2019-01-03 has been split into two packages:

Code to fix this was released in December 2019, and we went back and updated the packages that were previously affected by this as part of operational work during this release.

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.