[ECODP-dev] Dataset usage statistics

John Glover john.glover at okfn.org
Wed Oct 16 12:14:41 UTC 2013


Hello Agnieszka,



>  A few minutes for generation of the report sounds reassuring. Could the
> script be launched automatically to generate the stats eg. every day at
> particular hour?
>

Yes I don't think that this should be a problem.


 Apart from that I have question regarding report (see attached file): ****
>
> **-       **Why in some cases the name of the data provider is there and
> sometimes not? I checked 3 first datasets and they all belong to Estat so
> the question is why in some case this information is omitted by the script?
>

The publisher name is only fetched for datasets where the recent view count
is > 0, which seems like an oversight on our part.


> ****
>
> **-       **what's the total view time span? Last reset of database?
>
Yes, since the database was created.


> ****
>
> **-       **Why dataset with status private (eg. SJ) are also included
> although not visible on the portal?
>
The command does not currently query for public/private status (as the
person running it must be a sysadmin anyway).


 I cross-checked the stats with the results of "the most viewed" dataset.
> The outcome is quite curious: the number of views corresponds to "total
> view" from ckan report however how datasets are selected for display in
> this column is a complete mystery – they seem like randomly selected (see
> in attached file). Any idea why?
>

Yes, there is a bug in the current query (see ODP-291 on Jira) that is
incorrectly filtering using the date that the tracking data for each
dataset was updated. In effect, I think that you are only seeing datasets
that were actually viewed in the previous day (as opposed to the highest
view count up to the previous day, regardless of when it was last viewed).

Regards,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131016/75a8d098/attachment.html>


More information about the ecodp-dev mailing list