AtlasOfLivingAustralia / dashboard

Atlas Dashboard
https://dashboard.ala.org.au
3 stars 13 forks source link

Enhancement for species stats for dashboard and homepage #131

Open nickdos opened 7 years ago

nickdos commented 7 years ago

We currently show stats for the number of species in the ALA but this includes species found outside Australia due to datasets having records outside of Australia. John would prefer if we only included species found in Australia for these stats.

Dashboard is using the query: /ws/search?q=*:*&fq=idxtype:TAXON&fq=rankID:[7000%20TO%208000] which returns acount of all species/subspecies in the ALA.

This needs to change to: include all names in AFD, APNI, AusMoss, AusFungi and then any additional names from records located inside Australia's economic zone (thus requiring a biocache lookup).

The previous version of the BIE had an indexed fields called isAustralian, so we need something like this but with a different label so other countries can use it (e.g. locatedInHubCountry).

nickdos commented 7 years ago

Note to self. Biocache can produce a similar stat based on records only:

http://biocache.ala.org.au/ws/occurrence/facets?q=cl21:*+OR+cl1048:*+OR+country:Australia&facets=species&flimit=0

count: 119908

TaniaGLaity commented 9 months ago

may be able to do this when the native / non-native lists are finalised - need to talk to cam

adam-collins commented 9 months ago

To summarise, add to the dash, National Species List section some new entries:

  1. Species found in Australia. Get the count from http://biocache.ala.org.au/ws/occurrence/facets?q=country:Australia&facets=species&flimit=0
  2. Native species. Get the count from https://lists.ala.org.au/ws/speciesList/dr649, replacing the dr with the list of native species.

Do we have an estimate dat when these native/non-native lists will be finalised?