collectionspace / cspace-config-untangler

Generate CollectionSpace data overviews from profile/tenant configs
MIT License
0 stars 4 forks source link

structured date options and pass rectypes to write_fields_csv #10

Closed kspurgin closed 4 years ago

kspurgin commented 4 years ago

When getting fields for a profile, gives the option to explode or collapse structured dates.

explode will report one row for each individual structured date field (dateDisplayDate, dateEarliestScalarValue, etc.)

collapse will report the structured date group xpath parent as the field, with data type = structured date.

This PR also adds the option to output fields csv only for selected rectypes, since this will be needed in order to pull data for creating converter templates, mappings hashes, and validation info.