https://data.nhm.ac.uk/about/statistics/records
This is because we're iterating through hundreds of versions (nearly 400) to get weekly stats in get_record_stats, so getting the full list takes about 3 minutes. This was vaguely more sensible in 2019 when I wrote it but not by much
I think this is going to have to be done in ES with aggregations, so this is blocked until the new versioning is sorted.
https://data.nhm.ac.uk/about/statistics/records
This is because we're iterating through hundreds of versions (nearly 400) to get weekly stats in
get_record_stats, so getting the full list takes about 3 minutes. This was vaguely more sensible in 2019 when I wrote it but not by muchI think this is going to have to be done in ES with aggregations, so this is blocked until the new versioning is sorted.