I am new in the Python world but have a reasonable understanding at a basic level. I would appreciate it if someone could share a guide on how to import data from Excel to REDCap using API Python. The data which I have are medical-related like patient name, age, comorbidities, ... etc.
Asked
Active
Viewed 200 times
1 Answers
0
Approach this in two steps.
- Use something like pandas.read_excel()` to get the data under control of Python.
- Then use the PyCap package's
import_records()
to write the records to the REDCap server.
(In future SO posts, include more details so the code can be more tailored. I know it's tricky when PHI is involved and a fake dataset must be used on SO.)

wibeasley
- 5,000
- 3
- 34
- 62