Commandline Usage

Commandline Arguments

The command to run the MIP Dataset Mapper commandline interface is as follows.

Map a source dataset to a target dataset given a mapping file in JSON format generated by the MIP Dataset Mapper UI application (mip_dataset_mapper_ui).

usage: mip_dataset_mapper [-h] --source_dataset SOURCE_DATASET --mapping_file
                          MAPPING_FILE --cdes_file CDES_FILE --target_dataset
                          TARGET_DATASET

Named Arguments

--source_dataset

Source dataset file in CSV format.

--mapping_file

Source Dataset Columns / Common data elements (CDEs) mapping file in JSON format. The mapping file can be generated by the MIP Dataset Mapper UI application.

--cdes_file

Common data elements (CDEs) metadata schema file in EXCEL format.

--target_dataset

Path to the target / output dataset file in CSV format.