Sub-helper function to clean_redcap
for single repeat table
extraction.
distill_repeat_table(form_name, db_data, db_metadata)
A subset tibble
of all data related to a specified form_name
The form_name
described in the named column from the
REDCap metadata.
The non-longitudinal REDCap database output defined by
REDCapR::redcap_read_oneshot()$data
The non-longitudinal REDCap metadata output defined by
REDCapR::redcap_metadata_read()$data