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

Feature request: include doi & # occurrences in each gbifDownloadKey in the literature API #144

Open
dshorthouse opened this issue Sep 4, 2024 · 0 comments

Comments

@dshorthouse
Copy link

Although the number of occurrence records included in a gbifDownloadKey is discoverable through the occurrence API, it would be far more performant for my particular use-case if these were additionally included in the literature API. I recognize however that this might alter the structure of the gbifDownloadKey array to an array of hashes something like this with three keys that include the UUID, the DOI, and a count of occurrences:

"gbifDownloads": [
{"gbifDownloadKey": string, "doi": string, "occurrenceCount": integer}, ... 
]

At present, the download DOIs are known by an awkward regex at my end to parse the tags array whereas these should probably be afforded more prominent placement in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant