Electronic Resources Librarian, Linn-Benton Community College
While preparing for a major weeding project, our staff expressed a concern that we not weed any of our “unique” items. These items, which may be held by only a handful of other libraries, are important to our Interlibrary Loan partners; we didn’t want to weed anything that other libraries were counting on.
OCLC doesn’t provide reports of unique items, so I created my own workflow for finding these data. I ran a report in Evergreen to pull out titles, call numbers, and OCLC numbers:
Displayed fields
Base Filters
I manually normalized the OCLC numbers (which appeared in a number of formats) using regular expressions in Notepad++. I also took this opportunity to remove any non-OCLC control numbers that were lurking in our 035 fields.
I saved the results as a CSV folder and put it in the same directory as this little Python script. It basically checks the CSV report against OCLC’s Library Locations API. It is a very crude script; it took over 10 hours to run and probably wasn’t very kind to OCLC’s servers. However, it got us the data we needed.
This returned a list of 104 titles that had 0-2 other holdings in WorldCat. Only 13 of these titles were in the section we were weeding, and none of them were titles that would meet our weeding criteria. Looking at these data made us feel much safer in our weeding project, and gave us the confidence that we were not substantially limiting access to these resorces for patrons at our partner libraries.