When you look at collection stats, the views include only views of the
collection page itself.  You need a different query to detect item
views/bitstream downloads within that collection.

Query Item Views per collection (for collection 60): q=owningColl:60 AND
statistics_type:view AND type:2

Query Bitstream Downloads per collection (for collection 60): q=owningColl:60
AND statistics_type:view AND type:0 bundleName:ORIGINAL

You need to include the bundle in your query in order to exclude thumbnail
displays.

At the community level, it is a bit trickier.  You need to list all of the
collections with a community: q=(owningColl:61 OR owningColl:62 OR
owningColl:60) AND statistics_type:view AND type:0 bundleName:ORIGINAL

I have some sample code (in PHP) to assist with these queries.  If you are
curious, see
https://github.com/Georgetown-University-Libraries/batch-tools/wiki/Statistics-reporting

Terry

On Tue, Oct 18, 2016 at 12:32 PM, George Kozak <gkoz...@gmail.com> wrote:

> I'm not sure if I asked this question before, but I was asked today what
> is meant by "views" on the statistics page for collections and items (we
> are using DSpace 5.5, XMLUI modified Mirage2).
> Do these views just indicate hits on the item page or do they also
> encompass downloads?
> I have someone who is only interested in knowing the downloads for a
> collection.
> SO, if the displayed stats do not show downloads, is there a way of
> querying the Solr stats to get that information?
> Thanks!
>
> --
> ***************************
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924
> g...@cornell.edu
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/
<https://www.library.georgetown.edu/lit/code>
425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to