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
Currently
ala_counts()
only allows onegroup_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 toala_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