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

local context demo #284

Open
MortenHofft opened this issue Mar 22, 2024 · 1 comment
Open

local context demo #284

MortenHofft opened this issue Mar 22, 2024 · 1 comment
Assignees

Comments

@MortenHofft
Copy link
Member

MortenHofft commented Mar 22, 2024

example record
https://scd.landcareresearch.co.nz/Specimen/CHR%20365035

which belongs to this project in the LC api
https://localcontextshub.org/api/v1/projects/106eeba8-1c47-410c-9cfd-89bcb5e22656/
https://localcontexts.org/support/api-guide/

this record in the hosted portal
https://new-zealand.hp.gbif-staging.org/data/?catalogNumber=chr%20365035&entity=1091162039&taxonKey=0

gbif api response
https://api.gbif.org/v1/occurrence/1091162039/fragment (currently the LC project data isn't there)

If this project ID was part of the published record we could show those labels
it could be as a new field in the api, or to begin with just dynamic properties
It could also be on a dataset level, in eml or as an identifier in the gbif registry

an additional field like localContextLabels="commercialization|provenance|collaboration" would also be nice. we could get it from the LC api and that would make it fresh data. But also hammer their API. that would allow search by labels

it looks like one record can be part of multiple LK projects

@MortenHofft MortenHofft self-assigned this Mar 22, 2024
@MortenHofft
Copy link
Member Author

Question
I see there is a concept of institutions, but I do not see them reflected in the API (only via the projects API where i can ask for projections related to an institution).
And when I do so for e.g. entry https://localcontextshub.org/institutions/view/49/
then I get 0 projects https://localcontextshub.org/api/v1/projects/institutions/49/ despite the institution entry statin gthere is one projection.

It might be a data consistency issue as I see it works as I would expect for some entries (like institution 94).

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