Skip to content

Get and list datasets used to mention data sources #33

@camillemonchicourt

Description

@camillemonchicourt

Actually we request GBIF occurrences API to get species observations and then generate a list of species.
We mention data source in widget footer, but it would be good to also mention datasets used in the data.

When we request occurrences API, we get datasetkey of each occurrence.
It would be good to generate a list of datasetkey and then request GBIF API to get their dataset names.

It seems to be possible in GBIF Registry API : https://techdocs.gbif.org/en/openapi/v1/registry-principal-methods#/Datasets/getDataset
It seems that we can't give a list of datasetkeys to this API but only one datasetkey at a time : https://api.gbif.org/v1/dataset/14d5676a-2c54-4f94-9023-1e8dcd822aa0

The datasets names list could be displayed in the tooltip with more information about the source, and requested/calculated only when hovering this button :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions