@ztajoli wrote:
Hi to all,
I’m doing a check about numbers of downloads.
To know the number of full-text download of an article (id=2599) in a specific day (20180125) the SQL code is:
select sum(metric) from metrics where submission_id=‘2599’ and assoc_type = ‘260’ and day = ‘20180125’;
Is it correct ?Because I find the number in metrics.metric if I check apache logs. Instead of ‘1’ I find ‘18’ inside 18 rows.
And 18 download is probably more correct.
Do you find similar problems about the number inside metrics.metric ?Bye
Zeno Tajoli
Posts: 1
Participants: 1