[Evergreen-catalogers] Batch deleting MARCs

Katie Greenleaf Martin kgm at sparkpa.org
Wed Oct 23 16:52:20 EDT 2024


What we have started doing with econtent records is to create a new record match set so that they match on the 037 (provider ID) as opposed to ISBN. We made sure that we had the Hoopla ones all separated from other econtent records, and so now when we have the delete file, we can import it to match on the 037 and overlay the record with the URIs with the record from Hoopla’s deleted records file. Then, because the updated records have no URIs, we can put them in a bucket from the import queue and delete them all at once.

I’m not sure if this would work with all providers, since we only manage Hoopla records centrally (since it’s the same batches for all of our members who subscribe), but it has been helping us do that management since we implemented it this summer.

I’m happy to provide more details 😊
Katie

From: Evergreen-catalogers <evergreen-catalogers-bounces at list.evergreen-ils.org> On Behalf Of Garry Collum via Evergreen-catalogers
Sent: Wednesday, October 23, 2024 3:21 PM
To: Evergreen Community Catalogers <evergreen-catalogers at list.evergreen-ils.org>
Cc: Garry Collum <gcollum at hotmail.com>
Subject: Re: [Evergreen-catalogers] Batch deleting MARCs

Just like Ruth, we have also gone to a discovery layer, but ours pulls everything from Hoopla through an API, except music records, so it's much less work than it used to be.

The monthly deletions spreadsheet from Hoopla contains a list of urls.  I use a text editor to format these urls into a SQL statement so I can get a list of the record ids from our system.

Something like this:

select distinct(record)
from asset.call_number
join asset.uri_call_number_map ucnm on ucnm.call_number = call_number.id
join asset.uri on uri.id = ucnm.uri
where (
 uri.href = 'https://www.hoopladigital.com/title/11780681' or
 uri.href = 'https://www.hoopladigital.com/title/12326359' or
 uri.href = 'https://www.hoopladigital.com/title/16968789'
)

Once I have this list, I export the records from Evergreen and remove the 856s using marcedit.  I then reimport them and send the records to a bucket so they can be deleted.

Garry
________________________________
From: Evergreen-catalogers <evergreen-catalogers-bounces at list.evergreen-ils.org<mailto:evergreen-catalogers-bounces at list.evergreen-ils.org>> on behalf of Tricia Everaert via Evergreen-catalogers <evergreen-catalogers at list.evergreen-ils.org<mailto:evergreen-catalogers at list.evergreen-ils.org>>
Sent: Wednesday, October 23, 2024 12:47 PM
To: Evergreen Community Catalogers <evergreen-catalogers at list.evergreen-ils.org<mailto:evergreen-catalogers at list.evergreen-ils.org>>
Cc: Tricia Everaert <teveraert at nflibrary.ca<mailto:teveraert at nflibrary.ca>>
Subject: [Evergreen-catalogers] Batch deleting MARCs

Hello cataloguing friends!
We're looking at including Hoopla and possibly other digital records in our catalogue, but don't want to do so until we find a way to batch delete or automate the deletion of records for titles we no longer have access to.
We currently have cloudLibrary MARCs in our database, and then every month we have to manually search and delete records for titles we no longer have by first deleting an 856 field, then delete the bib.  Given the quantity of records we'd have from Hoopla, this workflow wouldn't be feasible.
My question is, how do you handle the maintenance of your digital records, and is there a way to batch delete bibs from either mrc. or csv files?

Appreciate your thoughts,
Tricia




Tricia Everaert
Collections and Digital Asset Technician
Information Resources & Connections
Niagara Falls Public Library
4848 Victoria Avenue, Niagara Falls, ON  L2E 4C5
Tel 905-356-8080 x 251 teveraert at nflibrary.ca<mailto:teveraert at nflibrary.ca>
[https://docs.google.com/uc?export=download&id=1zVDqburqsIn44erfZsdt1gowghXksJ0C&revid=0BzY0_IcA55AaN0JUU2RnbmdWQllwRkJ4cTVnNzFvY0RkcDlRPQ]

CONFIDENTIALITY NOTICE: This communication and any accompanying document(s) are confidential and may be privileged. They are intended for the sole use of the addressee. If you receive this transmission in error, you are advised that any disclosure, copying, distribution, or the taking of any action in reliance upon the communication is strictly prohibited. If you have received this communication in error, please immediately contact or inform the sender by return e-mail or by telephone at 905-356-8080 x248<tel:905-356-8080%20x248> and delete this e-mail message and all copies. Due to the inherent risks associated with the Internet, we assume no responsibility for unauthorized interception of any Internet communication with you or the transmission of computer viruses.

The Niagara Falls Public Library promotes work-life balance and the right for its employees to disconnect outside of work hours. Please do not feel obligated to reply to this email outside of your normal working hours.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-catalogers/attachments/20241023/675133be/attachment-0001.htm>


More information about the Evergreen-catalogers mailing list