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

Show species by source for (x)releases on taxon pages #1512

Open
mdoering opened this issue Dec 10, 2024 · 0 comments
Open

Show species by source for (x)releases on taxon pages #1512

mdoering opened this issue Dec 10, 2024 · 0 comments
Assignees

Comments

@mdoering
Copy link
Member

mdoering commented Dec 10, 2024

Description

With taxon metrics we now have a map of source dataset keys and the number of accepted species they contribute.
It would be nice to show these on taxon details pages - maybe underneath the Taxonomic scrutiny section?

E.g.
https://api.dev.checklistbank.org/dataset/9910/taxon/NN/metrics
https://www.checklistbank.org/dataset/306220/taxon/NN

The metrics response also includes counts of accepted names by rank (taxaByRankCount) which we should use for the statistics that we currently get from ES. These cover all names incl synonyms which I think is less useful. And it would save us some slightly expensive call to facets.

Note that metrics only exist for taxa, not for synonyms!

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

No branches or pull requests

2 participants