Feature #5989
openTrack data download, view and citation statistics
0%
Description
Currently the only usage stats we have in Metacat are the raw logs. This new service would provide several statistical reports in machine-readable format intended for efficient use on clients for building user interface displays that show those statistics.
The service should include the following response statistics, and be extensible to add other tracked statistics as needed:
- Number of views (defined as number of times the metadata has been viewed on the web)
- Number of package downloads (needs definition)
- Size in bytes of package downloads
- Number of citations (implement in a second phase)
For each of these statistics, calling apps should be able to constrain the results to only include records matching:
- a PID or list of PIDs
- creator or list of creators (DN, or ORCID, or some amalgam -- to be discussed)
- a time range of access event (upload, download, etc.)
- ? spatial location of access event (upload, download, etc.)
- ? IP Address
- accessor or list of accessors (DN, or ORCID, or some amalgam, needs ACL -- to be discussed)
For each of these statistics, calling apps should be able to request the statistic aggregated by several specific facets, including the following (in order of importance):
- User (DN, or ORCID, or some amalgam -- to be discussed)
- Time range, aggregated to requested unit (day, week, month, year)
- ? Spatial range, aggregated to requested unit (to be discussed)
Intersections of these aggregated facets should also be possible, but are a lower priority than the facets alone. For example, when finished, one should be able to request the following reports, among others:
- {Views,Downloads,Bytes,Citations} for a given pid or list of pids
- {Views,Downloads,Bytes,Citations} by user (aggregates across pids)
- {Views,Downloads,Bytes,Citations} by month (aggregates across pids)
- {Views,Downloads,Bytes,Citations} by spatial location (aggregates across pids)
- {Views,Downloads,Bytes,Citations} for a given pid by month for a specific time range
- {Views,Downloads,Bytes,Citations} by user by month
- etc.
The download format (JSON?, XML?) should allow for an extended set of response variables, and an extendable set of aggregating facets. Need to discuss, but probably XML as that is DataONE's initial choice for all other services. Contemplate both if useful.
The REST API for this service should be developed in the DataONE space, with intention of it being implementable by both other MNs and CNs in DataONE.
Related issues
Updated by ben leinfelder over 11 years ago
- Target version changed from 1.1.0 to 1.2.0
Updated by ben leinfelder about 11 years ago
- Target version changed from 1.2.0 to 1.3.0
Updated by Matt Jones almost 11 years ago
- Project changed from MetacatUI to Metacat
- Target version deleted (
1.5.0)
Updated by Matt Jones almost 11 years ago
- Assignee set to Peter Slaughter
- Target version set to 2.5.0
Updated by Matt Jones almost 11 years ago
- Description updated (diff)
Updated description to clarify a few of the reports and filters.
Updated by Matt Jones almost 11 years ago
- Target version changed from 2.5.0 to 2.4.0
Updated by Peter Slaughter almost 11 years ago
- Status changed from New to In Progress
Updated by ben leinfelder almost 11 years ago
- Target version changed from 2.4.0 to 2.5.0
Updated by ben leinfelder over 10 years ago
I believe this is now all targeted for the CNs. We may consider moving tasks into the DataONE tracker as appropriate...
Updated by ben leinfelder about 9 years ago
- Target version changed from 2.5.0 to 2.5.1
Updated by ben leinfelder almost 9 years ago
- Target version changed from 2.5.1 to 2.x.y