dewittpe / REDCapExporter

R package to export data from REDCap projects via the REDCap API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REDCapExporter

R-CMD-check codecov CRAN_Status_Badge CRAN RStudio mirror downloads CRAN RStudio mirror downloads

Download the data from a REDCap project and package the data into a useful R data package.

Project Goals

While REDCap (Research Electronic Data Capture) is a fantastic tool for data capture, the dissemination of the collected data in a format that multiple data analysis can easily access and share can be improved. The REDCapExporter package provides a set of tools to provide easy access to REDCap data via the REDCap API with two aims:

  1. Scripting functions to allow for easy access to, and formatting of, a data set within a REDCap project.
  2. Produce a skeleton R data package to house, document, archive, and disseminate a data set.

Why is this tool needed?

If you are familiar with REDCap then you know that exporting the data from the web interface is straight forward, easy to use, and powerful. However, there is a fair amount of (meta) data that could be valuable to data analysis which is not included in the export. The REDCapExporter aims to report and cross link the meta data, collected data, and (expanded) documentation in one location. The resulting .tar.gz data package is easy to disseminate.

Version control of data is difficult. Small data files can easily be added to git repositories, and larger files using git-lfs. Subversion can handle larger data sets with its own pros and cons. However, adding the data to multiple repositories will consume a lot of disk space unnecessarily and there are issues arising from sensitive data being versioned and while using public repository hosts. A R data package will provide an implicit versioning of data while keeping only one copy of the data on the local disk.

About

R package to export data from REDCap projects via the REDCap API


Languages

Language:R 95.7%Language:Makefile 4.3%