REDCap to R Markdown, reproducibly
Heidi Steiner
February 16, 2023
REDCap + data extraction from an API
REDCapTidieR to “tidy” REDCap output
REDCap API Creation 🔌 and storage in .Renviron 🔐
REDCapTidieR to pull data 🧹
Render a reproducible .rmd report 🧶
rmarkdownReport.Rmdinstall.packages(c(
"knitr"
, "REDCapR"
, "REDCapTidieR"
, "tableone"
, "tidyverse"
, "usethis"))

So many thanks to Richard Hanna for their work on REDCapTidieR!
Record Status Dashboard

Front-End Data Entry UI

REDCap functions as a large data table, but data distribution can be complex depending on architectural choices. Repeating instances can create headaches on the backend.

Check out the tidyREDCap documentation to read more!
REDCapREmpty data introduced as an artifact of repeating instruments
Data export is often times large and unwieldy
Missing metadata linking field association to instruments
Row identification is confusing and inconsistent
There are a number of problems with this which anyone here who has worked with repeating instruments or longitudinal REDCap projects has probably run into.
REDCapTidieRHanna R, Kadauke S, Porter E (2023). REDCapTidieR: Extract ‘REDCap’ Databases into Tidy ’Tibble’s. https://chop-cgtinformatics.github.io/REDCapTidieR/, https://github.com/CHOP-CGTInformatics/REDCapTidieR.
REDCap API Creation 🔌 and storage in .Renviron 🔐
REDCapTidieR to pull data 🧹
Render a reproducible .rmd report 🧶