Library Datafarm Scripts

Most of the Perl scripts used to construct the Penn Library Data Farm are available for libraries to study and, if possible, adapt to their local circumstances. The scripts are highly idiosyncratic, reflecting the systems design and network peculiarities of the Penn Library. They are offered as illustrations and guides for experienced programmers, but beyond that their utility may be limited. Within each script, we have included examples of source data to help clarify functions. To access a script click on the folder name below.

 


Folder Name

A brief document description

Archive Archiving scripts used to save a set of folders to tape
BarCodeRefine barcode refinement scripts, groups demographical (stat) codes with patron barcode
Check Log rolling verification scripts, sends email notification if logs are not rolled each night
Circulation scripts for breaking down book circulation transactions by status, school and subject class
CountUse scripts for computing and demographically analyzing use of databases and e-journals offered through the Penn library website. Generates monthly reports
CountUseAnnual aggregates database/ejournal stats (Countuse) on an annual basis
Download simple scripts for downloading a webpage
Ebooks scripts for downloading and maintaining a repository of bibliographic information on electronic books hosted on the library website. Produces an alert email referencing new acquisitions
Ebooks-Digital scripts for statistical analysis of ebook use (Specific to the Penn/OUP/CUP ebook project)
Franklin Analysis of VOyager OPAC searches and OPAC web server activity.
GateCount scripts for analyzing library building use, based on ID swipes at entry points. Generates monthly reports
GateCountAnnual performs annual aggregation of GateCount data
GateCount Hourly scripts for analyzing library building use , based on ID swipes at entry points on an hourly basis . Generates monthly report
Laptop Statistical/demographic breakdown of laptop circulation, similar to Circulation/
Maild scripts for mail operated script invocation.
MethodCountUse scripts Similar to CountUse but refining it to the method level. The method is a variable in the url used in this instance to distinguish e-journals from information/databases.
Package home grown perl packages and a common Parse script, allowing usage by templates.
PhotoCopy scripts for processing statistical information on photocopier use in library
facilities. Generates monthly reports
PhotoCopyAnnual aggregates photocopier data for the academic year
Proxy analyzes Proxy server usage. Proxy controls off-campus and in-library access to proprietary resources. Data provides demographic information based on user ID rather than network domain
Generates monthly reports
ProxyAnnual aggregates Proxy data for a fiscal year.
bb scripts for BlackBoard usage. <<In development>>
dash scripts for aggregating critical statistical information for all library services in
single "dash board" type report. <<In development>>
mycrontab Typical crontab file (Unix crontab entries)