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

for the CRI collection is there a way to sort alphabetically the granules? #72

Open
relarson1 opened this issue Dec 21, 2020 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@relarson1
Copy link

Is there a way to sort the granules index of the CRI collection ?
i.e. a request for granules doesn't have things alphabetically https://api.govinfo.gov/packages/CRI-2020/granules?offset=7500&pageSize=100&api_key=
Having the ability to sort alphabetically would make it easier to see if we have retrieved all index items for a given letter easier without having to do a full reprocess of the entire package.

@jonquandt
Copy link
Member

@relarson1 - that is currently not available, but something we can look at adding - sort by arbitrary field returned.

To be clear, do you want to filter by alphabet numbers for the title, or similar?

The example you have above appears to be alphabetical on first glance.

I believe the the granules are returned in the normal package order, but I can verify that.

@jonquandt jonquandt self-assigned this Feb 4, 2021
@jonquandt jonquandt added the question Further information is requested label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants