Comments (3)
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.
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.
@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:
- https://api.govinfo.gov/packages/CREC-2019-01-03-v164/summary
- https://api.govinfo.gov/packages/CREC-2019-01-03-v165/summary
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)
- WayOut HOT 1
- Packages - set default granulesLink pagination to use offsetMark
- Related - CPRT to CPRT relationships
- Missing Bill Text XML for BILLS-118hr3571ih and BILLS-118hres383eh HOT 8
- Anti Virus software update
- Hello would My dreams officiall Pakistan off world now technologie ❓️
- Brian j Reinwald HOT 1
- Reinwald Brian
- Brian j Reinwald
- Search - new tab generated from /docs page returns error
- Search - add relatedLink to Search Service results
- need to add upcoming feature HOT 1
- Govinfo API key HOT 6
- 401 Errors HOT 8
- Smartscriptmatrix
- Retrieve CREC documents which have the property "Congress Member Speaking" HOT 1
- Receive "HTTP Error 401: Unauthorized" after 100 scrapes HOT 1
- abdulrahmannabhan HOT 4
- Bulk data API back to 103rd Congress HOT 6
- Missing Bill Text for S3621 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.