lib/traject/extract_contributors.rb
# For wax cylinder recordings, we want to capture
# contributor data from fields 100, 110, 700, and 710
# of the MARC record.
For wax cylinder recordings, we want to capture
contributor data from fields 100, 110, 700, and 710
of the MARC record.
For wax cylinder recordings we want to capture contributor data from fields 100 110 700 and 710 of the MARC record .
def trim_subfield(field, code)
    field.subfields.select do |s|
      s.code == code
    end.map { |role| Traject::Macros::Marc21.trim_punctuation(role.value) }
  end
def trim_subfield ( field , code ) field . subfields . select do | s | s . code == code end . map { | role | Traject :: Macros :: Marc21 . trim_punctuation ( role . value ) } end
For wax cylinder recordings, we want to capture
contributor data from fields 100, 110, 700, and 710
of the MARC record.
For wax cylinder recordings we want to capture contributor data from fields 100 110 700 and 710 of the MARC record .
field
code