The getCounterReport operation

From Plnwiki

Provides a COUNTER report.

Arguments: CounterReportParams reportParams

Result: CounterReportResult with the COUNTER report provided by the daemon.

The COUNTER reports generated and returned by the LOCKSS software are files named with the following pattern:

COUNTER_type_id-startYear_startMonth-endYear_endMonth-currentDate.formatExtension

where

  • type is the subject of the report, either Book or Journal.
  • id is the identifier of the report, either 1, 1L, 2 or 2L for books or 1, 1L, 5 or 5L for journals.
  • startYear is the year at the beginning of the period covered by the report, in YYYY format.
  • startMonth is the month at the beginning of the period covered by the report, in MM format.
  • endYear is the year at the end of the period covered by the report, in YYYY format.
  • endMonth is the month at the end of the period covered by the report, in MM format.
  • currentDate is the date when the report was generated, in YYY-MM-DD format.
  • formatExtension is csv for comma-separated reports and tsv for tab-separated reports.