Sub-helper function to clean_redcap_long
for single nonrepeat table
extraction.
distill_nonrepeat_table_long(
form_name,
db_data_long,
db_metadata_long,
linked_arms
)
A tibble
of all data related to a specified form_name
The form_name
described in the named column from the
REDCap metadata.
The REDCap database output defined by
REDCapR::redcap_read_oneshot()$data
The REDCap metadata output defined by
REDCapR::redcap_metadata_read()$data
Output of link_arms
, linking instruments to REDCap
events/arms