REDCap Castellated data handling https://agdamsbo.github.io/REDCapCAST/
Go to file
2023-04-13 12:18:22 +02:00
.github page, test and coverage 2023-03-08 11:50:44 +01:00
data including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
data-raw including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
docs include .html in git 2023-04-13 12:18:22 +02:00
inst gp with CRAN in sight 2023-04-13 10:57:04 +02:00
man including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
R including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
test-data/test_splitr Working on #7. Appears to be a functioning patch 2018-06-23 02:18:32 -04:00
tests gp with CRAN in sight 2023-04-13 10:57:04 +02:00
vignettes including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
_pkgdown.yml new page 2023-03-08 12:12:59 +01:00
.DS_Store trying to overcome error messagein github actions by moving R package to root. 2022-12-21 08:29:00 +01:00
.gitignore include .html in git 2023-04-13 12:18:22 +02:00
.Rbuildignore license 2023-03-08 20:18:39 +01:00
.Renviron including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
codecov.yml page, test and coverage 2023-03-08 11:50:44 +01:00
DESCRIPTION including data and sorting vignette. still work to be done. 2023-04-13 12:15:34 +02:00
LICENSE.md license 2023-03-08 20:18:39 +01:00
NAMESPACE Major update. New functions and improvements. See NEWS.md. 2023-03-07 15:38:28 +01:00
NEWS.md gp with CRAN in sight 2023-04-13 10:57:04 +02:00
README.md gp with CRAN in sight 2023-04-13 10:57:04 +02:00
REDCapCAST.Rproj new name 2023-03-03 12:47:11 +01:00

R-CMD-check Page deployed Codecov test coverage Lifecycle:
experimental

REDCapCAST

REDCap Castellated data handling when using repeated instruments.

This package is a fork of SpectrumHealthResearch/REDCapRITS. The REDCapRITS represents great and extensive work to handle castellated REDCap data in different programming languages. This fork is purely minded on R usage and includes a few implementations of the main REDCap_split function.

The main goal for this project was to allow for a "minimal data" approach by allowing to filter records, instruments and variables in the export to only download data needed. I think this approach is desireable for handling sensitive, clinical data. No similar functionality is available from similar tools (like REDCapR or REDCapTidieR). Please refer to REDCap-Tools for other great tools.

Use and immprovements

This package is primarily relevant for working with longitudinal projects and/or projects using repeated instruments. Here is just a short descirption of the main functions:

  • REDcap_split(): Works largely as the original REDCapRITS::REDCap_split(). It takes a REDCap dataset and metadata (data dictionary) to split the data set into a list of dataframes of instruments.

  • read_redcap_tables(): wraps the use of REDCapR::redcap_read() with REDCap_split() to ease the export of REDCap data.

  • redcap_wider(): pivots each data frame with repeated instruments to a wide format utilizing the tidyr::pivot_wider() from the tidyverse.

Compared to the original REDCapRITS, all matching functions are improved to accept column naming of REDCap data from manual download or API export.

Installation

Install the latest version directly from GitHub:

remotes::install_github("agdamsbo/REDCapCAST")