archivesspace-plugins / lcnaf

6 stars 3 forks source link

Feature request: include toggle so that users can decide NOT to import 5xx related agents... #13

Open fordmadox opened 1 year ago

fordmadox commented 1 year ago

I'm not sure the best approach here, but since there is already the option to exclude associated subjects, could an option be added to easily exclude 5xx agents, rather than having to modify the MARCXML import code?

IFF this process also looked up and imported an associated authority record from id.lov.gov (as one would likely expect), rather than just the 5xx part from a MARC XML record, then such a toggle wouldn't be necessary. As it is, though, you wind up with skeleton agent records being imported. e.g.:

https://test.archivesspace.org/staff/agents/agent_person/703 (i.e, . Caeiro, Alberto, 1888-1935, with no ID / URI)

versus what you'd want:

https://test.archivesspace.org/staff/agents/agent_person/707 (i.e, http://id.loc.gov/authorities/names/n2008075049)

And in the latter example (that is, while importing yet another authority record with corresponding 5xx fields), you'd also get a skeleton record for Pessoa, https://test.archivesspace.org/agents/people/706, rather than and/or in addition to, eventually, a record like this: https://test.archivesspace.org/agents/people/705