- data
data frame
- add.auto.id
flag to add id column
- date.format
date format, character string. ymd/dmy/mdy. dafault is
dmy.
- form.name
manually specify form name(s). Vector of length 1 or
ncol(data). Default is NULL and "data" is used.
- form.sep
If supplied dataset has form names as suffix or prefix to the
column/variable names, the seperator can be specified. If supplied, the
form.sep is ignored. Default is NULL.
- form.prefix
Flag to set if form is prefix (TRUE) or suffix (FALSE) to
the column names. Assumes all columns have pre- or suffix if specified.
- field.type
manually specify field type(s). Vector of length 1 or
ncol(data). Default is NULL and "text" is used for everything but factors,
which wil get "radio".
- field.label
manually specify field label(s). Vector of length 1 or
ncol(data). Default is NULL and colnames(data) is used or attribute
`field.label.attr` for haven_labelled data set (imported .dta file with
`haven::read_dta()`).
- field.label.attr
attribute name for named labels for haven_labelled
data set (imported .dta file with `haven::read_dta()`. Default is "label"
- field.validation
manually specify field validation(s). Vector of
length 1 or ncol(data). Default is NULL and `levels()` are used for factors
or attribute `factor.labels.attr` for haven_labelled data set (imported .dta
file with `haven::read_dta()`).
- metadata
redcap metadata headings. Default is
REDCapCAST:::metadata_names.
- validate.time
Flag to validate guessed time columns
- time.var.sel.pos
Positive selection regex string passed to
`gues_time_only_filter()` as sel.pos.
- time.var.sel.neg
Negative selection regex string passed to
`gues_time_only_filter()` as sel.neg.