Skip to contents

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

Usage

read_from_REDCap_upload(
  project,
  allow_all = TRUE,
  drop_nonredcap_vars = TRUE,
  drop_non_form_vars = TRUE,
  stop_or_warn = "warn"
)

Arguments

project

A validated project object containing REDCap project data and settings. Generated using load_project or setup_project

allow_all

logical TF for allowing project$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