<div dir="ltr"><div>Hi all, <br></div><div><br></div><div>As an alternative to direct database access to run these sorts of queries, one could download the data as EAD, load it into a local XML database such as BaseX, and run queries using xquery there. (I wrote a couple of quick queries and posted them here: <a href="https://gist.github.com/kschlottmann/4c7a3125780c18cd175a29c9ba237928" target="_blank">https://gist.github.com/kschlottmann/4c7a3125780c18cd175a29c9ba237928</a>) I put the results into a Google sheet for distributed review by our team. If we have suggested updates to the free-text description (scope notes and unit titles), we'll note that in the Google sheet and then run those back in with the API.<br></div><div><br></div><div>This approach obviously technical preconditions as well, including an API or OAI script that will download the EADs en masse and a script that will write the updates back in, but it can be done in a hosted environment where one doesn't have database access.<br></div><div><br></div><div>Kevin<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 19, 2020 at 10:27 AM Karen Miller <<a href="mailto:k-miller3@northwestern.edu" target="_blank">k-miller3@northwestern.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)">Good morning.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)">At Northwestern University, our ArchivesSpace is hosted by Atlas, who has given us ODBC read-only access to the MySQL database. Just yesterday I ran a report that
harvests BiogHist notes from Agents for a cleanup project. My SQL is pretty hacky too (although Mark’s is a good bit more neat looking than mine!), but I could post it on GitHub if it’s of interest.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)">Karen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(39,35,35)">Karen D. Miller<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:black">Monographic Cataloger/Metadata Specialist<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(39,35,35)">Northwestern University Libraries<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(78,42,133)">Northwestern University<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:black">1970 Campus Drive<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:black">Evanston, IL 60208<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(39,35,35)"><a href="http://www.library.northwestern.edu" target="_blank">www.library.northwestern.edu</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:black"><a href="mailto:k-miller3@northwestern.edu" target="_blank">k-miller3@northwestern.edu</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(39,35,35)">874.467.3462</span><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Arial",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif"> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
<b>On Behalf Of </b>Lara Friedman-Shedlov<br>
<b>Sent:</b> Monday, May 18, 2020 4:07 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Mrs. Husband's Name / updates in our ArchivesSpace database<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thanks for sharing this Mark. At the University of Minnesota, we are in the early stages of doing some agent record clean-up as well, so this information is very useful.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">For one project we were looking at doing with our agents, we wanted to create a report of all of our agent records that would also include the biographical /historical notes from any linked resource records (or at least the URLs to any
associated resource records, so we could easily find the relevant bio/hist notes). Our instance of ArchivesSpace is hosted by Lyrasis so we contacted them to ask about it and were told this is "not possible." I found that surprising and wonder if anyone
else has done something like this and if so, how.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">/ Lara Friedman-Shedlov<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, May 18, 2020 at 4:00 PM Custer, Mark <<a href="mailto:mark.custer@yale.edu" target="_blank">mark.custer@yale.edu</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is anyone else working on Agent-related cleanup projects in ArchivesSpace right now? We’ve got a couple of those going on at Yale, and I wanted to mention one of them on this listserv
since I said that I would last night on Twitter <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span>. My reasoning was that it would be better to share widely, even early on, in the likely event that others were working on similar projects, and in hopes that it might save time for anyone else looking to get started with such a project.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Anyhow, just for the sake of sharing, here’s a really hacky SQL database query that you can use in ArchivesSpace to get a list of agents that have any name forms that include “Mrs.”
or “Miss”:
<a href="https://gist.github.com/fordmadox/d78656fceb04b62000b662a3f2464488" target="_blank">https://gist.github.com/fordmadox/d78656fceb04b62000b662a3f2464488</a> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">A few caveats:<u></u><u></u></p>
<ul type="disc">
<li class="MsoNormal">
I do *<b>not</b>* know SQL very well, so I know that this could be improved dramatically, but it gets data out of ArchivesSpace.<u></u><u></u></li><li class="MsoNormal">
The query casts a rather wide net, since it looks for Mrs. or Miss in any of the name forms, but it could be altered to just look for those two terms in the “sort_name” only if desired.<u></u><u></u></li><li class="MsoNormal">
The result of the query has at least one Yale-specific field in there, since we store our local ILS bibliographic IDs in ASpace’s “user defined string 2” field. You can ignore that, or add something else, etc., but the gist is that this query should work in
any ASpace instance. It should return one row per agent, with multiple name forms, and a bit more information like which Resources, Archival Objects, and/or Accessions the agent is linked to.<u></u><u></u></li><li class="MsoNormal">
And last, it just searches for variations of “Mrs.” and “Miss”, which works for our dataset, but you could modify the HAVING clause at the end of the query to search for other honorific terms, if needed.<u></u><u></u></li></ul>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Most importantly, though, getting a dataset to review and act on is just the first step. The hard work comes next! Jessica Tai, Alison Clemens, and Karen Spicher are spearheading
this project at Yale. If anyone has specific questions about the project, I’d encourage you to reach out directly to them.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">For now, though, here’s one interesting example from the project: we’ve got an agent record now in ArchivesSpace for “Brady, John G., Mrs.”, <a href="https://archives.yale.edu/agents/people/77599" target="_blank">https://archives.yale.edu/agents/people/77599</a>.
Originally this would just have been text in the finding aid, later a link in a catalog record, and now it’s full-blown, standalone record for a person in ArchivesSpace. But nowhere in that agent record is her given name, Elizabeth, although her name is thankfully
listed multiple times in the finding aid (check out the finding aid author! <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span>), in the Wikipedia entry for John Green Brady, and elsewhere. So, that agent record will eventually be one of a few hundred local records that we update in ArchivesSpace during the course of this project. And, one of the things that I like about
ArchivesSpace --which helps to make sure that this project is possible without too many workarounds-- is that even if an agent record has a corresponding authority record in, say, the Library of Congress name authority file (e.g.
<a href="http://id.loc.gov/authorities/names/n2008076910" target="_blank">http://id.loc.gov/authorities/names/n2008076910</a>), you can still choose to use a different name variant for that agent’s display name, rather than an authorized heading.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Anyhow, I hope all is doing well!
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Mark<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Lara D. Friedman-Shedlov (she, her, hers)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Description and Access Archivist | Kautz Family YMCA Archives |
<a href="http://www.lib.umn.edu/ymca" target="_blank">www.lib.umn.edu/ymca</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Digital Records Archivist | Archives & Special Collections |
<a href="http://www.lib.umn.edu/special" target="_blank">www.lib.umn.edu/special</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">University of Minnesota Libraries |
<a href="http://lib.umn.edu" target="_blank">lib.umn.edu</a> | 612.626.7972<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Kevin Schlottmann<br>Head of Archives Processing<br>Rare Book & Manuscript Library<br>Butler Library, Room 801<br>Columbia University<br>535 W. 114th St., New York, NY 10027<br>(212) 854-8483</div>