pulibrary / aspace_helpers

methods and reports to support common SC activities in ArchivesSpace
1 stars 0 forks source link

Override $0 for viaf in get_MARCxml.rb #334

Closed regineheberlein closed 10 months ago

regineheberlein commented 1 year ago

User story

From Cathy: Re: Archive Space records, I understand that Archives catalogers use VIAF to verify the names entered. Since they use lc names found in VIAF in their EAD records, instead of selecting VIAF as the source, they will begin to select lcnaf as the source. This "lcnaf" source, I assume, will map to MARC subject field 600 2nd indicator "0" (not "7"). However, they will continue to enter the viaf urls into the EAD record. For this viaf urls entered in Archive Space, I was wondering if it can be mapped to $1 (instead of $0) in all headings (1XX, 6XX, 7XX fields) in MARC. Currently all viaf urls are mapped to $0.

Concrete example

C0950: 600 | 17 |a Fitzgerald, F. Scott (Francis Scott), 1896-1940. |0 http://viaf.org/viaf/100254195 |2 viaf

Implementation notes, if any

The current behavior is coming from ArchivesSpace; we can override the output manually.

Additional context This relates to an issue that has already been reported to Lyrasis: https://archivesspace.atlassian.net/browse/ANW-1602

regineheberlein commented 10 months ago

Upon more discussion with @cathyprinceton, the desired output involves 3 parts:

The desired output would look like this: 600 | 10 |a Fitzgerald, F. Scott (Francis Scott), 1896-1940. |1 http://viaf.org/viaf/100254195