This python script will convert redcap export into bids format
Use the config.json file to set bids_root, events mapping, subjects, etc..
$ pip install PyCap
$ pip install pandas
$ python redcaptobids.py https://redcap.example.edu/api/ SomeSuperSecretAPIKeyThatNobodyElseShouldHave
The script will create tsv phenotypes and json sidecar templates for each. Thiese phenotypes outputs are based on the instrument_mapping element in the config.json
anxiety_sensitivity_index_asi3 ->
/phenotype/anxiety_sensitivity_index_asi3.tsv
/phenotype/anxiety_sensitivity_index_asi3.json