[Archivesspace_Users_Group] Tools for batch updating locations in ArchivesSpace during a collections move
Tang, Lydia
ltang5 at msu.edu
Tue Jan 7 15:58:54 EST 2020
Thanks for sending this, Mark! When you did this, did you lose container profile info? Just curious!
Lydia
From: <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of "Custer, Mark" <mark.custer at yale.edu>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Date: Tuesday, January 7, 2020 at 3:57 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Tools for batch updating locations in ArchivesSpace during a collections move
Bo,
Our approach was pretty similar to the approach that you linked to, in that the whole process is primarily broken down into three main steps:
* Extract and merge the data (in our case, primarily from ASpace and our ILS, Voyager)
* Compare and prep the data in a spreadsheet format
* Update ArchivesSpace with an edited version of that spreadsheet.
So, here’s a snippet of a CSV file that we used, with information merged from ASpace and Voyager: https://github.com/YaleArchivesSpace/data_cleanup_workgroup/blob/master/top-container-updates/python-update-scripts/ARTS-dev-test.csv<https://urldefense.com/v3/__https:/github.com/YaleArchivesSpace/data_cleanup_workgroup/blob/master/top-container-updates/python-update-scripts/ARTS-dev-test.csv__;!!HXCxUKc!ju-JUh9AVAy9fh2lHpSgwazI7JCwX68McfdrQ5vdxbUqppNCNXOcRMMVex8S7a983A$>
Once we verified everything was up-to-date there (we also tested the barcode check digit and other potential errors), we ran a simple API update to update all of those top containers in ArchivesSpace, with a variation of this script: https://github.com/YaleArchivesSpace/data_cleanup_workgroup/blob/master/top-container-updates/python-update-scripts/top-container-update.py<https://urldefense.com/v3/__https:/github.com/YaleArchivesSpace/data_cleanup_workgroup/blob/master/top-container-updates/python-update-scripts/top-container-update.py__;!!HXCxUKc!ju-JUh9AVAy9fh2lHpSgwazI7JCwX68McfdrQ5vdxbUqppNCNXOcRMMVex__E9D20Q$>
In our case, we were only updating three different values in ArchivesSpace: the barcode, the location, and the start date for when the box was added to that location (if no value, it would just default to the date that the script was run).
Updating the data in ArchivesSpace was the easy part (although it does take time when you have lots and lots of containers!), but you will definitely want to test things out a lot outside of a production system first. Doing everything else is where it takes a lot more time and planning, I think.
Also, it’s been a while since I’ve looked at resources related to getting up to speed with ArchivesSpace and its API, but here are two that I don’t think will ever go out of style:
* Overview by Hudson Molonglo: https://www.youtube.com/playlist?list=PLJFitFaE9AY_DDlhl3Kq_vFeX27F1yt6I<https://urldefense.com/v3/__https:/www.youtube.com/playlist?list=PLJFitFaE9AY_DDlhl3Kq_vFeX27F1yt6I__;!!HXCxUKc!ju-JUh9AVAy9fh2lHpSgwazI7JCwX68McfdrQ5vdxbUqppNCNXOcRMMVex82KcywVQ$>
* ArchivesSpace API workshop developed by Valerie Addonizio and Lora Woodford: https://github.com/archivesspace/api-training<https://urldefense.com/v3/__https:/github.com/archivesspace/api-training__;!!HXCxUKc!ju-JUh9AVAy9fh2lHpSgwazI7JCwX68McfdrQ5vdxbUqppNCNXOcRMMVex_EGF8nGg$>
I hope that helps,
Mark
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Bolton Kelly Doub
Sent: Tuesday, 07 January, 2020 3:20 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Tools for batch updating locations in ArchivesSpace during a collections move
Hi Mark,
Thank you so much for your feedback -- this is very helpful.
And yes, your observations re: where our barcodes exist are correct:
* ArchivesSpace has all of our granular location info (room, row, range, shelf data), but no box barcodes
* Our ILS has the box barcodes, but much less specific location info (basically, there is one location code that covers the whole offsite storage facility that we are moving collections from)
I think we will probably end up going with some variation of the processes that you describe in your three bulleted suggestions. I like the approach of batch creating new locations rather than trying to update the existing locations. Regarding the use of the ArchivesSpace API to re-associate all of the containers to their new locations, do you have any resources, webinars, tutorials, github repositories, etc. that you could point us to that might help us start on this process? I have seen some of the resources for batch editing barcodes in ArchivesSpace through the API <https://www2.archivists.org/groups/research-libraries-section/batch-editing-barcodes-in-archivesspace-through-the-api<https://urldefense.com/v3/__https:/nam05.safelinks.protection.outlook.com/?url=https*3A*2F*2Fwww2.archivists.org*2Fgroups*2Fresearch-libraries-section*2Fbatch-editing-barcodes-in-archivesspace-through-the-api&data=02*7C01*7Cmark.custer*40yale.edu*7C0e82e960359b4b1ee3ea08d793af0f9d*7Cdd8cbebb21394df8b4114e3e87abeb5c*7C0*7C1*7C637140252400902448&sdata=dRN9zZR7is*2F07r*2BaTjmdb2VAed0cXm4SegTVpeih8NM*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSU!!HXCxUKc!ju-JUh9AVAy9fh2lHpSgwazI7JCwX68McfdrQ5vdxbUqppNCNXOcRMMVex9uzmN05A$>>, but I’m not sure if these address the re-association of containers to new locations.
To your last point, we will need to keep all of the granular locations in ArchivesSpace because of the way we use Aeon in connection with ArchivesSpace to retrieve patron requests for archival material. Though I agree with you that this project should serve as an opportunity to get all of the box barcodes into ArchivesSpace.
Thanks again for your help and please let us know about relevant API tools if you know of any.
Best,
Bo
Bo Doub
Archival Projects Librarian
USC Libraries Special Collections
Doheny Memorial Library, Room B22
tel:213-740-8180
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> On Behalf Of Custer, Mark
Sent: Tuesday, January 7, 2020 11:13 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] Tools for batch updating locations in ArchivesSpace during a collections move
Bo,
This sounds like a very tricky / fun project!
Though I have not gone through the exact same scenario, I have gone through a process of matching containers in finding aids with item records in corresponding MARC records in an ILS. As with most problems of this type, I suspect that you will find that there are a variety of data disagreements between the multiple systems (e.g. a finding aid that references 50 different boxes, whereas you might have 52 different item records for that same collection in your ILS) and sometimes none of them agree with reality.
It sounds like you have location data in ArchivesSpace, but no barcodes…. Is that right? If so, I’d probably suggest storing both the barcodes and the locations in ArchivesSpace, or barring that, just adding the location data to your ILS and keeping the barcodes there. Better to have all of that data in one system, I’d think, rather than have it split. But, in my mind, since ArchivesSpace is what’s going to be describing the entire collection, in the long run it might be easier to have the barcodes in ArchivesSpace, since you can’t just create a new top container record and *not* have it linked to description in your finding aid, whereas you certainly can add an item record to your ILS and not have that linked to any description in a finding aid.
Anyhow, if your ultimate goal is to add all of this data to ArchivesSpace, I’d suggest:
* Creating new locations for the new offsite facility rather than trying to batch update the existing locations (since there won’t be a one-to-one correspondence with the container associated with those locations);
* Using the API to re-associate all of those containers with their new location;
* Bonus: try to see if you can get those barcodes into ArchivesSpace, since at the very least trying that out will alert you to those cases where there’s a disagreement between what’s in both systems (that said, you can’t rely on simple counts alone when making that comparison, since I’ve definitely stumbled across cases where the finding aid might have, say, boxes 1-3, and the ILS for that same collection has boxes 1-2 and something else, like, oversized folder A… so both agree that there are 3 containers… and yet, in reality, there might be 4 containers: three boxes and an oversized folder labelled A😊).
Last, is there another system aside from ArchivesSpace that keeps track of your offsite locations? I ask because you might not need to be so granular when creating locations in ArchivesSpace in that case. For instance, at Yale we have a single location for an off-site location – in ASpace we just know that they are off site, and another systems keeps track exactly where that barcode is stored in that offsite facility. So, perhaps it’s just wishful thinking on my part, but I wonder if you couldn’t just create a single location code in ArchivesSpace for the new offsite facility, and then update all of the top containers currently associated with the multiple locations from the current facility to the new one?
Mark
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Bolton Kelly Doub
Sent: Monday, 06 January, 2020 4:01 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Tools for batch updating locations in ArchivesSpace during a collections move
Hi All,
At the University of Southern California, we are preparing to move a high volume of archival collections (basically the contents of an entire offsite storage building) from one offsite facility to another. We are investigating tools and methods for batch updating locations in ArchivesSpace to spare us from having to edit each location record’s building, room, row, range, shelf, etc. fields individually.
One additional challenge to this task is that the capacity of each destination shelf in the new building will not necessarily match the capacity of the corresponding shelving in the old offsite storage building. In many cases, a set of boxes that shared the same shelf in the old facility will be split up into different shelves in the new facility.
Most of the boxes that are moving have unique barcodes displayed on each box. Most of these boxes also already have locations in ArchivesSpace (with building, room, row, range, and shelf values applied at the box level). However, the box barcodes are only documented in USC’s ILS system (Alma/Primo). The barcodes are not documented in our instance of ArchivesSpace.
Has anyone on this list worked through a collections move under similar conditions using ArchivesSpace? Do you know of any relevant plugins or ArchivesSpace API tools that we could use to batch change locations?
Thank you in advance for any help or feedback.
Happy New Year,
Bo
Bo Doub
Archival Projects Librarian
USC Libraries Special Collections
University of Southern California
Doheny Memorial Library
3550 Trousdale Parkway, Room B22
Los Angeles, CA 90089-0189
tel:213-740-8180
bdoub at usc.edu<mailto:bdoub at usc.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200107/a67a1c0d/attachment.html>
More information about the Archivesspace_Users_Group
mailing list