Create New Merge Data ProfileΒΆ

This is for creating a new merge data profile for use with the galatea merge-data command.

  1. Generate a new initialized mapping toml one with merge-data from-getmarc init-mapper command.

    user@WORKMACHINE123 % galatea merge-data from-getmarc init-mapper myfile.tsv
    Wrote mapping file to /Users/user/mapping.toml
    
  2. Edit the content of the created mapping toml file in a text editor.

    • Make sure the identifier_key is set to column containing the mmsid in the tsv file.

      [mappings]
      identifier_key = "Bibliographic Identifier"
      
    • For each column expected to have data added to, edit each [[mapping]] section.

      See Mapping Fields section for more details