-
Notifications
You must be signed in to change notification settings - Fork 3
CSV File Property Parser
David Lowery edited this page Feb 27, 2018
·
3 revisions
Transform the input file to a file containing separate columns for each of the parsed values from the dynamic properties field
This workflow:
- creates a given directory as a workspace
- takes a CSV or TXT file as input
- creates an output file, parsed_file.csv, that contains the original input data with new column headers added for each of the properties listed in the "dwc:dynamicProperties" field and for each row, creates new columns for the property values
The Darwin Core fields required in the input to this workflow (or equivalent fields when the dataset is run through the darwinizer):
- dwc:dynamicProperties
The files produced by this workflow are:
- parsed_file.csv - a copy of the input file with new columns for each of the properties in dwc:dynamicProperties and their values
Workflow configuration file: https://github.com/kurator-org/kurator-validation/blob/master/packages/kurator_validation/workflows/parse_dynamic_properties.yaml