Creating Sample Data - Steps

  1. Start with a properly formatted Data Dictionary.

  2. Copy all cells including Header Row, and paste into second sheet called CSV Import Template.

  3. Remove all blank columns, keep rows: UI Field Label, UI Field Type, UI Default Controlled List Contents, Schema Field ID, Schema Field Repeatable, Schema Group Repeatable, and Schema Option List Default Contents.

  4. Add sample data, following the guidelines below.

  5. Once you have +/- 25 rows of sample data, copy the sheet to a new file.

  6. Delete all header rows except Schema Field ID. If the first column has headers (e.g. UI Field Label), delete it as well.

  7. Save as .csv, following the naming convention procedurename_profile_all.csv or authorityname_profile_all.csv.

  8. Unless you are providing sample data for Object Cataloging, please enter data for every single field in the schema.

  9. Make a GitHub pull request: https://github.com/collectionspace/cspace-converter/tree/master/data

Creating Sample Data - Formatting Guidelines

Examples

Multi-valued fields with multi-valued sub-fields, e.g.:

Model as:

title,titleLanguage,titleTranslation,titleTranslationLanguage 
A Man; A Woman,English; English,Un Homme^^Hombre; Une Femme^^Fraulein,French^^Spanish; French^^German

or:

title

titleLanguage

titleTranslation

titleTranslationLanguage

A Man; A Woman

English; English

Un Homme^^Un Hombre; Une Femme^^Fraulein

French^^Spanish; French^^German