Name: ckanext-statistics
Owner: Natural History Museum
Description: Natural History Museum Data Portal stats plugin
Created: 2017-09-14 16:09:32.0
Updated: 2017-09-19 16:23:35.0
Pushed: 2018-03-19 16:33:58.0
Homepage: null
Size: 46
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
://data.nhm.ac.uk/api/3/action/download_statistics
Displays number of download events & records downloaded for the collections, research and GBIF datasets.
Download statistics can be filtered by date.
://data.nhm.ac.uk/api/3/action/download_statistics?year=2017&month=08
Provides total number of records across all datasets.
://data.nhm.ac.uk/api/3/action/dataset_statistics
Dataset statistics can be filtered by resource ID.
://data.nhm.ac.uk/api/3/action/dataset_statistics?resource_id=05ff2255-c38a-40c9-b657-4ccb55ab2feb
GBIF Download statistics are collected by a paster command:
er --plugin=ckanext-statistics statistics gbif -c /etc/ckan/default/development.ini
This runs daily on CRON.