clean_redcap: Extract non-longitudinal REDCap databases into tidy tibbles

View source: R/clean_redcap.R

clean_redcapR Documentation

Extract non-longitudinal REDCap databases into tidy tibbles

Description

Helper function internal to read_redcap responsible for extraction and final processing of a tidy tibble to the user from a non-longitudinal REDCap database.

Usage

clean_redcap(db_data, db_metadata)

Arguments

db_data

The REDCap database output defined by REDCapR::redcap_read_oneshot()$data

db_metadata

The REDCap metadata output defined by REDCapR::redcap_metadata_read()$data

Value

Returns a tibble with list elements containing tidy dataframes. Users can access dataframes under the redcap_data column with reference to form_name and structure column details.


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.