AtlasOfLivingAustralia / galah-R

Query living atlases from R
https://galah.ala.org.au
41 stars 2 forks source link

Investigate APIs for 2D faceting #10

Closed matildastevenson closed 3 years ago

matildastevenson commented 3 years ago

Currently ala_counts() only allows one group_by parameter, as this is all the biocache API supports. However, the spatial portal APIs provide quick 2D tabulations with e.g. https://spatial.ala.org.au/ws/tabulation/occurrences/basisOfRecord/cl958/tabulation.csv. This is much quicker than running nested calls to ala_counts(). However this functionality is only enabled for spatial layers, and not other fields. Using the spatial APIs may help with performance enhancements outlined in #9

matildastevenson commented 3 years ago

Closing as the APIs don't support this yet