Journal Statistics Framework Technology
From Dryad wiki
A framework for reporting statistics on Dryad objects.
Overview
This framework can aggregate statistics for Dryad Data Packages and Dryad Data Files for specifiic date ranges, and per journal.
Usage
This feature is available as a command-line DSpace utility:
Command-line usage:
usage: dspace journal-stats -f,--from Begin Date -h,--help help -j Journal Name (required) -t,--to End Date DCDate is used for date parsing, accepts '2014', '2014-01-01', or full ISO8601 formatting
e.g.
$ /opt/dryad/bin/dspace journal-stats -j "Heredity" $ /opt/dryad/bin/dspace journal-stats -j "Heredity" -f 2013-01-01 -t 2013-12-31
Configuration
By default, the command-line tool will run all the statistics listed in DefaultStatisticsPackage.java. Initially there are a few. The framework is designed to be used in other configurations beyond command-line interaction. Individual statistics are subclasses of Statistic.java and are templated for a single return value. This value may be a number (simple count) or a Map (e.g. for data packages submitted by month)