Learn R Programming

REDCapTidieR (version 1.2.3)

distill_repeat_table: Extract repeat tables from non-longitudinal REDCap databases

Description

Sub-helper function to clean_redcap for single repeat table extraction.

Usage

distill_repeat_table(form_name, db_data, db_metadata)

Value

A subset tibble of all data related to a specified form_name

Arguments

form_name

The form_name described in the named column from the REDCap metadata.

db_data

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

db_metadata

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