Skip to content

Consider exposing stats/page views as "system packages" #260

@jqnatividad

Description

@jqnatividad

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions