REDCap Castellated data handling https://agdamsbo.github.io/REDCapCAST/
Go to file
2024-11-27 09:51:51 +01:00
.github reinstall 2024-09-09 11:37:29 +02:00
data test data updated 2024-11-18 14:40:47 +01:00
data-raw restructuring 2024-11-26 14:46:22 +01:00
inst restructuring 2024-11-27 07:48:10 +01:00
man added option to export "both" raw and label by labelling raw data to preserve as much information as possible 2024-11-27 09:51:51 +01:00
pkgdown/favicon updated description, icon on favicons ✌️🧢 2023-06-02 12:07:20 +02:00
R added option to export "both" raw and label by labelling raw data to preserve as much information as possible 2024-11-27 09:51:51 +01:00
renv included shiny app with package, bslib, documentation, fixing NA bug 2024-11-15 20:42:41 +01:00
test-data/test_splitr formatting 2024-02-06 14:15:36 +01:00
tests restructuring 2024-11-26 14:46:22 +01:00
vignettes added option to export "both" raw and label by labelling raw data to preserve as much information as possible 2024-11-27 09:51:51 +01:00
_pkgdown.yml new workflow 2023-07-04 16:58:12 +02:00
.gitignore cleaning 2024-11-26 14:44:51 +01:00
.Rbuildignore bug hunting 2024-11-27 07:42:03 +01:00
.Renviron disabling examples 2024-10-24 11:56:29 +02:00
.Rprofile trying with renv again after multiple check failures on macos arm64 with RHUB 2024-09-09 09:45:53 +02:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2024-02-28 14:19:29 +01:00
codecov.yml page, test and coverage 2023-03-08 11:50:44 +01:00
cran-comments.md new comment 2024-11-15 21:27:02 +01:00
DESCRIPTION cleaning 2024-11-26 14:44:51 +01:00
LICENSE.md license 2023-03-08 20:18:39 +01:00
NAMESPACE cleaning 2024-11-26 14:44:51 +01:00
NEWS.md restructuring 2024-11-26 14:46:22 +01:00
README.md restructured readme for fork detach 2024-11-18 10:53:53 +01:00
REDCapCAST.Rproj error on spellchecking 2024-02-27 12:45:53 +01:00
renv.lock news; heading for CRAN 2024-11-22 13:00:17 +01:00

GitHub R package version CRAN/METACRAN DOI R-hub R-CMD-check Page deployed Codecov test coverage CRAN downloads Lifecycle: experimental

REDCapCAST package

Casting metadata for REDCap database creation and handling of castellated data using repeated instruments and longitudinal projects in REDCap.

This is implemented with

  • An app-interface for easy database creation accessible here or available to run locally with shiny_cast() allowing you to easily create a REDCap database based on an existing spreadsheet.

  • Export data from REDCap in different formats handling castellated data, and on default only export requested data, this is mainly through read_redcap_tables().

REDCapCAST was initially build on, and still includes code from pegeler/REDCapRITS, and relies on functions from the REDCapR-project

History

This package was originally forked from pegeler/REDCapRITS. The REDCapRITS represents great and extensive work to handle castellated REDCap data in different programming languages. REDCapCAST has evolved into much more than just handling castellated data and so has been detatched from the original project while still relying on the main REDCap_split function. All access to the REDCap database is build on the outstanding work in REDCapR.

This package really started out of frustration during my PhD in health science hearing colleagues complaining about that "castellated" data formatting of REDCap exports when doing longitudinal projects and being used to wide data. This led to some bad decisions in building databases avoiding repeated instruments. This package solves these challenges, but solutions are also implemented else where like the redcapAPI or REDCapTidieR packages, which are bigger project.

To help new PhD students and other researchers, I have also worked on creating a few helper/wrapper-functions to ease data access. Documentation is on it's way.

For any more advanced uses, consider using the redcapAPI or REDCapR packages.

Future

The plan with this package is to be bundled with a Handbook on working with REDCap from R. This work is in progress but is limited by the time available. Please feel free to contact me or create and issue with ideas for future additions.

Installation and use

The package is available on CRAN. Install the latest version:

install.packages("REDCapCAST")

Install the latest version directly from GitHub:

require("remotes")
remotes::install_github("agdamsbo/REDCapCAST")

Launch the REDCapCAST app interface directly on your own machine:

REDCapCAST::shiny_cast()

Code of Conduct

Please note that the REDCapCAST project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.