User Tools

Site Tools


evergreen-reports:sql:circulation:daily_circ_stat_reports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
evergreen-reports:sql:circulation:daily_circ_stat_reports [2011/03/08 22:06] – created bshumevergreen-reports:sql:circulation:daily_circ_stat_reports [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 6: Line 6:
 This report was submitted on 5/14/10 by Amy Terlaga of Bibliomation, Inc. This report was submitted on 5/14/10 by Amy Terlaga of Bibliomation, Inc.
 It was originally created by Dan Scott of Laurentian University. It was originally created by Dan Scott of Laurentian University.
 +
 **Version**:  Evergreen v.1.6.0.2 **Version**:  Evergreen v.1.6.0.2
 +
 **Data Sources Used**:   **Data Sources Used**:  
 +
 **Running Tips/Guidelines**:  This report is designed to be run the day AFTER the day you are interested in  **Running Tips/Guidelines**:  This report is designed to be run the day AFTER the day you are interested in 
 getting daily circulation totals.  If you would like it to reflect today's activity, remove **- '1 day'::interval** getting daily circulation totals.  If you would like it to reflect today's activity, remove **- '1 day'::interval**
 If you would like it to reflect activity from two days ago, change the **1** to a **2** (and so on). If you would like it to reflect activity from two days ago, change the **1** to a **2** (and so on).
 Where you see ORG, replace with your org unit's short name. Where you see ORG, replace with your org unit's short name.
----------------------------+ 
 +<code sql>
  
 SELECT copy_location.name, count(circulation.id) AS count SELECT copy_location.name, count(circulation.id) AS count
Line 29: Line 33:
   WHERE org_unit.shortname = 'ORG'::text AND date_trunc('DAY'::text, circulation.create_time) = date_trunc('DAY'::text, now() - '1 day'::interval)   WHERE org_unit.shortname = 'ORG'::text AND date_trunc('DAY'::text, circulation.create_time) = date_trunc('DAY'::text, now() - '1 day'::interval)
   ORDER BY 1;   ORDER BY 1;
---------------------------------- 
  
 +</code>
  
 Back to [[evergreen-reports:sql:circulation|Evergreen Circulation Reports]] page Back to [[evergreen-reports:sql:circulation|Evergreen Circulation Reports]] page
  
evergreen-reports/sql/circulation/daily_circ_stat_reports.1299639974.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.