-
Notifications
You must be signed in to change notification settings - Fork 0
Home
toujames edited this page Jun 17, 2020
·
2 revisions
Here you will find any documentation relating to converting redcap records into bids-compliant format.
Use the config.json file to set bids_root, events mapping, subjects, etc..
See wiki page for more information
$ 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/asi3.tsv
/phenotype/asi3.json