OJS 2.4.7-1 statistical data

Thanks, that is very helpful.

The “View Report” under the “Report Generator” uses the “ViewReportPlugin”, which uses the “ojs::legacyDefault” metric type.

The code @beghelli shared in the “…Stats Made Public” post uses the default metric type, which is almost certainly “ojs::counter”.

The discrepancy seems to indicate that the upgrade didn’t convert former counter statistics to new ojs::counter metrics. This could be because of an error in the upgrade, or could be that you weren’t collecting counter statistics before the upgrade.

You could modify the code to explicitly add the “ojs::legacyDefault” and “ojs::counter” types together for display. There is a post in the same thread which does not exactly do this, but is similar in thought:

Better, in my opinion, would be (if possible) to re-process all of your old logs to generate COUNTER-ready statistics for the duration of the journal’s publication history.