Class: Recon::Type::Materials

Inherits:
Object
  • Object
show all
Extended by:
DS::Util
Includes:
ReconType
Defined in:
lib/ds/recon/type/materials.rb

Constant Summary collapse

SET_NAME =
:materials
RECON_CSV_HEADERS =
%i{
  material_as_recorded
  authorized_label
  structured_value
  ds_qid
}
LOOKUP_COLUMNS =
%i{
  authorized_label
  structured_value
  ds_qid
}
KEY_COLUMNS =
%i{
  material_as_recorded
}
METHOD_NAME =
%i{ extract_materials }
AS_RECORDED_COLUMN =
:material_as_recorded
DELIMITER_MAP =
{ '|' => ';' }
BALANCED_COLUMNS =
{ materials: %w{ structured_value authorized_label } }

Constants included from DS::Util::Strings

DS::Util::Strings::ABBREV_REGEX, DS::Util::Strings::ELLIPSIS_REGEX, DS::Util::Strings::FINAL_QUESTION_REGEX, DS::Util::Strings::TERMINAL_PUNCT_REGEX

Method Summary

Methods included from DS::Util

process_xml

Methods included from DS::Util::Strings

#clean_string, #clean_white_space, #convert_mets_superscript, #escape_pipes, #fix_double_periods, #is_url?, #normalize_string, #remove_brackets, #terminate, #unicode_normalize

Methods included from ReconType

included