clean_redcap_long {REDCapTidieR} | R Documentation |
Extract 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 longitudinal REDCap database.
Usage
clean_redcap_long(
db_data_long,
db_metadata_long,
linked_arms,
allow_mixed_structure = FALSE
)
Arguments
db_data_long |
The longitudinal REDCap database output defined by
|
db_metadata_long |
The longitudinal REDCap metadata output defined by
|
linked_arms |
Output of |
allow_mixed_structure |
A logical to allow for support of mixed repeating/non-repeating
instruments. Setting to |
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.