lib/traject/extract_contributors.rb
def model_name_for(field)
    if field.tag == "110" || field.tag == "710"
      "organization"
    else
      NAME_TYPE_MAP.fetch(field.indicator1, "agent")
    end
  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.
For wax cylinder recordings we want to capture contributor data from fields 100 110 700 and 710 of the MARC record .
def model_name_for(field)
    if field.tag == "110" || field.tag == "710"
      "organization"
    else
      NAME_TYPE_MAP.fetch(field.indicator1, "agent")
    end
  end
def model_name_for ( field ) if field . tag == "110" || field . tag == "710" "organization" else NAME_TYPE_MAP . fetch ( field . indicator1 , "agent" ) end 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