Skip to contents

Reads DB from the dropped REDCap files in dir/REDCap/upload

Usage

read_from_REDCap_upload(
  DB,
  allow_all = T,
  drop_nonredcap_vars = T,
  drop_non_form_vars = T,
  stop_or_warn = "warn"
)

Arguments

DB

A validated `DB` object containing REDCap project data and settings. Generated using load_DB or setup_DB

allow_all

logical TF for allowing DB$data names that are not also form names

drop_nonredcap_vars

logical TF for dropping non-redcap variable names

drop_non_form_vars

logical TF for dropping non-form variable names

stop_or_warn

character string of whether to stop, warn, or do nothing when forbidden cols are present

Value

messages for confirmation