CRAN status Lifecycle: maturing

tidyREDCap is an R package with functions for processing REDCap data.

‘REDCap’ (Research Electronic Data CAPture; is a web-enabled application for building and managing surveys and databases developed at Vanderbilt University.

What tidyREDCap Functions Can Do for You?

Working with Choose One Questions

Working with Choose All that Apply Questions

REDCap exports the responses to a choose all that apply question into many similarly named questions. tidyREDCap helps summarize the responses with two functions:

Working with Repeated Measures

Projects that have repeated assessments with different questionnaires/instruments export with holes in the CSV. tidyREDCap will parse the export and create tables for any of the questionnaires/instruments:

Where Can I Find tidyREDCap?

Offical Release

You can get the latest offical release of tidyREDCap from CRAN.


Development Release

Run these two lines of code to install tidyREDCap from GitHub (this requires RTools for Windows or Xcode for Mac to be installed on your computer):

if (!requireNamespace("devtools")) install.packages("devtools")

What if I Find a Problem?

We are currently in active development of tidyREDCap. If one of our functions does not work the way that you expect, or if one of our functions is broken, please submit an issue ticket (using a reproducible example) to our issues page. If you have a cool idea for our next new function, also submit an issue ticket. If you are an R developer and want so contribute to this package, please submit an issue ticket or a pull request.

Who Are Our Supporters?

The development of this package was supported by:

  • Healing Communities Study: Developing and Testing and Integrated Approach to Address the Opioid Crisis-New York State.
    • National Institute on Drug Abuse, 1 UM1 DA049415
  • CTN-0094 Individual Level Predictive Modeling of Opioid Use Disorder Treatment Outcome.
    • Florida Node Alliance Of The Drug Abuse Clinical Trials Network NIDA UG1 DA013720
  • University of Miami Center for HIV and Researching Mental Health (CHARM)
    • NIH 1P30MH116867-01A1
  • University of Miami, Sylvester Comprehensive Cancer Center
  • Florida International University, Stempel College of Public Health