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

support congress as a top level searchable element in the API #20

Closed
relarson1 opened this issue Nov 1, 2018 · 1 comment
Closed

support congress as a top level searchable element in the API #20

relarson1 opened this issue Nov 1, 2018 · 1 comment
Assignees
Labels
Upcoming Items currently under development and will be available in our next release
Milestone

Comments

@relarson1
Copy link

For many of the collections they are congress specific and in the package info they have the congress in them
for example the bills collection:
package level has:"congress": "115",
but at the collection level that information is not available:
https://api.govinfo.gov/collections/BILLS/2018-01-01T00:00:00Z?offset=0&pageSize=10&api_key=

"packageId": "BILLS-115hr609enr",
"lastModified": "2018-11-01T14:59:34Z",
"packageLink": "https://api.govinfo.gov/packages/BILLS-115hr609enr/summary",
"docClass": "hr",
"title": "An Act T

It would be very helpful for downloading to allow searching and filtering by congress at the collection level, similar to how docClass was added for the CDOC collection
i.e.
https://api.govinfo.gov/collections/BILLS/2018-01-01T00:00:00Z?offset=0&pageSize=10&congress=115&api_key=
and return only 115th items for that time period.

@jonquandt jonquandt self-assigned this Nov 15, 2018
@jonquandt jonquandt added Features Items currently under consideration by the govinfo team for development. Upcoming Items currently under development and will be available in our next release and removed Features Items currently under consideration by the govinfo team for development. labels Nov 15, 2018
@jonquandt jonquandt added this to the December 2018 milestone Nov 21, 2018
@jonquandt
Copy link
Member

jonquandt commented Dec 15, 2018

This is now available. Note that for the following collections, we are performing some reindexing to get the congress values to appear at the package level:

CREC
ECONI
HJOURNAL
HMAN
HOB
SMAN
STATUTE

This republishing will take some time (several weeks), and we will be focusing on the most recent documents. New day-forward content in these collections will have the Congress values as soon as they are added to the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upcoming Items currently under development and will be available in our next release
Projects
None yet
Development

No branches or pull requests

2 participants