The ckanext-better-stats is a modular CKAN extension that provides a flexible metrics framework for collecting, processing, and visualizing platform statistics. Each metric encapsulates its own data retrieval logic, access control, caching strategy, and rendering, enabling scalable and customizable analytics without tight coupling to specific visualization backends.
See the documentation for more details.
To run the tests, do:
pytest --ckan-ini=test.ini