Skip to content
toujames edited this page Jun 17, 2020 · 2 revisions

Welcome to the redcap-to-bids wiki!

alt text

Here you will find any documentation relating to converting redcap records into bids-compliant format.

Configuration file

Use the config.json file to set bids_root, events mapping, subjects, etc..

See wiki page for more information

Requirements

$ pip install PyCap

$ pip install pandas

How to run

$ python redcaptobids.py https://redcap.example.edu/api/ SomeSuperSecretAPIKeyThatNobodyElseShouldHave

Output

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
Clone this wiki locally