Consider exposing stats/page views as "system packages"
- Dominant language
- No language data
- Stars
- 39
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**CKAN version**
2.9.1
**Describe the bug**
Statistics are exposed as html tables in the `/stats` page. Page Views can be exported and are also exposed in the UI.
Why not "eat our own dogfood" and expose them as packages?
In that way, open data portals can optionally expose them as "open data", and for those who don't elect to, use it for more robust internal tracking using the CKAN API.
**Steps to reproduce**
Go to `/stats` page. It is presented in the UI but there is no way to retrieve it via download or API.
**Expected behavior**
A sysadmin can specify an org that owns the stats tables.
In this way, the sysadmin can leverage the CKAN ACL, resource views and the CKAN API to control downloads; create more robust visualizations using resource views; and to retain history for detailed reporting, especially when google analytics is not an option.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.