ada-discovery / ada-issues

0 stars 0 forks source link

Dataset imports: support REDCap-style data dictionary in JSON imports #35

Open cerhardt opened 4 years ago

cerhardt commented 4 years ago

Because the "infer field types" feature doesn't work for all fields at my datasets, I have to create temporary REDCap projects with the correct field types and then import the data from here. Much easier would be the possibility to enrich the JSON file imports so that they could contain the data dictionary for the data.

e.g. in a hidden key: ['@@data_dictionary@@'][0] => array('field1','instrument1','type1','label1',...)
['@@data_dictionary@@'][1] => array('field2','instrument2','type2','label2',...)

the structure for the defintion of fields could be "REDCap style", then it would not be necessary to to develop it twice

peterbanda commented 4 years ago

I agree this is needed and should be easy to do. Potential duplicate of https://github.com/ada-discovery/ada-server/issues/43