Home » 2016 » April » 28

Daily Archives: 2016-04-28

Subscribe

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Help!

Problem? Check out the OLS Knowledge Base or open a ticket by emailing support@cuny-ols.libanswers.com.

css.php

Analytics: Circulation Activity Comparison Tool

In January, we introduced you to a CUNY OLS dashboard showing usage of our main library systems. That dashboard continues to be updated each month and we recently improved it, giving it in a new look and providing more school-specific detail.

Now we have a fun new offering: the Circulation Activity Comparison Tool!

Circulation Activity Comparison Tool
Circulation Activity Comparison Tool showing 2 fiscal years and highlighting loans

Features

  • Select Date Type to change the view from monthly to display by weekdays or by hours
  • Click on a single Event Type to view only one type of circulation event: Loans, Returns, or Requests
  • The title of each chart will change automatically to display the current selections for that chart
  • Remove all filter selections by clicking Reset at the left under the charts
  • Remove your last filter selection by clicking Undo in the same location
  • Includes data from Fiscal Years 2014, 2015, and 2016 (through March 2016)
  • Filter by a single SubLibrary or an entire Library (select all relevant SubLibraries in the drop-down selection box)
  • Click on the Loans line (or Returns or Requests) to display that line’s transaction counts (as we did in the above image)
  • Fiscal Year and SubLibrary selections are applied to one chart only
  • Select Date Type and other selections are applied to both charts

Using this tool, you can easily

  • Check your library’s peak hours for loans, returns, and requests
  • View your library’s traffic by day of the week
  • Compare 2 Fiscal Years by selecting different years on the left and right
  • Compare 2 Libraries (select all SubLibraries for one on the left and for another on the right)
  • Compare 2 SubLibraries
  • Mix and match

Acknowledgments

OLS is currently using Tableau Public’s free service to bring you this information. Check the Tableau Public Status page if you can’t access our OLS dashboards.

We owe a huge thank you to Jennifer Murray at SUNY Buffalo for sharing not only their Tableau dashboard but also the logic used to create it. This allowed us to build on the work they did and adapt it to our needs at CUNY.  In that same spirit, the logic we used appears below.

Technical Details

The data source is the Aleph Z35 Events table.

The selected fields are: Time Stamp (includes date, hour), Date (formatted), SubLibrary, and Circulation Event Type (groups 1 or more related events together)

Circulation Event Type Criteria

  • Loan: selected loan transactions
  • Return: return transactions
  • Requests: hold request transactions

Other Details

  • Limit to certain transaction types
  • Limit transaction dates to the 2 previous fiscal years plus the current fiscal year (July 2013-current date)
  • The order-by option is not required and merely makes the output easily scannable
  • The output is tab-delimited

SQL

set heading off
set pause off
set pagesize 0
set linesize 2900
set colsep |
select z35_time_stamp || chr(9) || substr( z35_event_date, 5, 2) || '/' || 
substr( z35_event_date, 7, 2) || '/' || substr( z35_event_date, 1, 4)
 || chr(9) || Z35_SUB_LIBRARY || chr(9) ||  ( CASE
WHEN z35_event_type IN ('50','56') THEN 'LOAN'
WHEN z35_event_type in ('61') THEN 'RETURN'
WHEN z35_event_type in ('71','72','73','74') THEN 'REQUEST'
END)
from xxx50.z35  -- where 'xxx' is your library prefix
where z35_event_type in ('50','56','61','71','72','73','74')
and z35_event_date > '20130630'
and z35_event_date < '20160401'
order by z35_time_stamp
;
exit
Need help with the Commons? Visit our
help page
Send us a message