0

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.

wibeasley
  • 5,000
  • 3
  • 34
  • 62
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jun 26 '22 at 18:53

1 Answers1

0

Approach this in two steps.

  1. Use something like pandas.read_excel()` to get the data under control of Python.
  2. 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