Searching for Agents/Subjects not linked to any Resource or Archival/Digital Object

60 views
Skip to first unread message

Endersby, Linda

unread,
Mar 6, 2025, 1:50:43 PM3/6/25
to archivesspac...@lyrasislists.org

Hello,

Is there a way to bring up a list of Subjects or Agents that are not linked to any record? I’ve been trying to figure it out, so I’m hoping someone can point me to the easy thing that I missed.

 

Or, if that can really only be done through the ASpace API, I would like to know that to.

 

Thanks,

Linda

 

Linda Endersby | Collections Manager

https://history.nebraska.gov/wp-content/uploads/2024/07/NSHS2024-logo-for-email-signature.jpg

P: 531-739-6931linda.e...@nebraska.gov

1500 R Street, Lincoln, NE 68508  

history.nebraska.gov

 

cid:image002.jpg@01D999ED.2E75EF00     cid:image003.jpg@01D999ED.2E75EF00     cid:image004.jpg@01D999ED.2E75EF00     cid:image005.jpg@01D999ED.2E75EF00

Tessa Wakefield

unread,
Mar 6, 2025, 2:09:25 PM3/6/25
to Endersby, Linda, archivesspac...@lyrasislists.org
Hi Linda,
I believe using the "Browse" function brings up all Agents and Subjects, regardless of if they're linked to another record. I don't *think* it excludes anything?
aspace_browse.jpg

Tessa

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/SJ0PR09MB11493AC4BAE6C156573264B96F9CA2%40SJ0PR09MB11493.namprd09.prod.outlook.com.


--
Tessa Wakefield (she/her)

University Archivist & Special Collections Coordinator

Rod Library

319-273-2132 

LIB 342  /  Cedar Falls, IA 50614

uni.edu  /  #1UNI
To schedule an appointment, please visit LibCal.
UNI / University of Northern Iowa





Valerie Addonizio

unread,
Mar 6, 2025, 4:48:20 PM3/6/25
to Endersby, Linda, archivesspac...@lyrasislists.org

Hi Linda,

 

I got moderate success with a custom report. It will give you all agents, but, if you generate the report and then sort on the linked fields, you at least have an avenue to see which agents are not linked.

 

This is what I did, and it will rely on whether you have customer reports enabled and permissions to create and run them.

 

Gear Menu > Customer Report Templates

Create new template, select:

Limit  = Something reasonable based on how many Agents you have

Record Type = Agents

Give yourself some display columns

Then most importantly, under Linked Records, make the selections that you want to see or want to see the lack of (you’ll get both)

 

I personally exported in JSON because I’m comfortable reading it. Then, I can scroll to see what records have links (not helping you) but, then you can also see which Agents don’t.

 

I consider this  a kinda-good-enough solution to your need.

 

-Valerie

 

 

 

From: 'Tessa Wakefield' via Archivesspace_Users_Group <Archivesspac...@lyrasislists.org>
Sent: Thursday, March 6, 2025 2:09 PM
To: Endersby, Linda <Linda.E...@nebraska.gov>
Cc: archivesspac...@lyrasislists.org
Subject: Re: [ArchivesSpace Users Group] Searching for Agents/Subjects not linked to any Resource or Archival/Digital Object

 

Hi Linda,

I believe using the "Browse" function brings up all Agents and Subjects, regardless of if they're linked to another record. I don't *think* it excludes anything?

 

Tessa

 

On Thu, Mar 6, 2025 at 12:50PM 'Endersby, Linda' via Archivesspace_Users_Group <Archivesspac...@lyrasislists.org> wrote:

Hello,

Is there a way to bring up a list of Subjects or Agents that are not linked to any record? I’ve been trying to figure it out, so I’m hoping someone can point me to the easy thing that I missed.

 

Or, if that can really only be done through the ASpace API, I would like to know that to.

 

Thanks,

Linda

 

Linda Endersby | Collections Manager

https://history.nebraska.gov/wp-content/uploads/2024/07/NSHS2024-logo-for-email-signature.jpg

P: 531-739-6931linda.e...@nebraska.gov

1500 R Street, Lincoln, NE 68508  

history.nebraska.gov

 

              

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/SJ0PR09MB11493AC4BAE6C156573264B96F9CA2%40SJ0PR09MB11493.namprd09.prod.outlook.com.


 

--

Tessa Wakefield (she/her)

University Archivist & Special Collections Coordinator

Rod Library

319-273-2132 

LIB 342  /  Cedar Falls, IA 50614

uni.edu  /  #1UNI

To schedule an appointment, please visit LibCal.

UNI / University of Northern Iowa

 

 

 

 

 

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.

Bowers, Kate A.

unread,
Mar 7, 2025, 1:34:48 PM3/7/25
to Valerie Addonizio, Endersby, Linda, archivesspac...@lyrasislists.org

Valerie:

 

Do you have a multi-repository AS instance? If you do, I suspect the agents lacking linked records will only be those lacking linked records in your repository. If the agent record has links to records in a different repository in a multi-repository instance, I suspect the results will be a false negative.

 

Kate

 

Kate Bowers

Collections Services Archivist for Metadata, Systems, and Standards

Harvard University Archives

kate_...@harvard.edu
fax: (617) 495-8011

web: http://nrs.harvard.edu/urn-3:hul.eresource:archives

Mary Mellon

unread,
Mar 7, 2025, 1:40:37 PM3/7/25
to Bowers, Kate A., Valerie Addonizio, Endersby, Linda, archivesspac...@lyrasislists.org

This could maybe be done via a MySQL database query- checking for agent ids that aren’t in the linked_agents_rlshp table

Tessa Wakefield (she/her)

Image removed by sender. UNI / University of Northern Iowa

 

 

 

 

 

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/CAD1%2BWk%3DrqzgknuKO9RZemufttvfyFiPQs13Ds%3D3dWG6BLhUT8Q%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/SA1PR20MB72474A61189B7DCA386CEF1489CA2%40SA1PR20MB7247.namprd20.prod.outlook.com.

--

You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.

Clair, Kevin

unread,
Mar 7, 2025, 2:22:18 PM3/7/25
to Bowers, Kate A., Valerie Addonizio, Endersby, Linda, Mary Mellon, archivesspac...@lyrasislists.org
It can be done that way, and I have. It requires access to the database, which not everyone has or is comfortable using, but it's the most direct way to get this information.

It gets a little tricky for agents because you have to do three separate queries for each kind of agent (four if you're using software agents) and then join them all together. Here's how I did it: https://gist.github.com/jackflaps/f0d0ba6fb5baddc879a2293359faee87 

Note that this query also returns the record counts; to get only the unlinked ones you would need to add an "and linked_records = '0'" to the WHERE clause. I wrote this as a one-off for a data cleanup project so didn't turn it into a custom report, although that's also a possibility.

cheers
-k


From: 'Mary Mellon' via Archivesspace_Users_Group <Archivesspac...@lyrasislists.org>
Sent: Friday, March 7, 2025 1:40 PM
To: Bowers, Kate A. <kate_...@harvard.edu>; Valerie Addonizio <vaddo...@atlas-sys.com>; Endersby, Linda <Linda.E...@nebraska.gov>
Cc: archivesspac...@lyrasislists.org <archivesspac...@lyrasislists.org>
Reply all
Reply to author
Forward
0 new messages