util_no_value_labels: Select really numeric variables

View source: R/util_no_value_labels.R

util_no_value_labelsR Documentation

Select really numeric variables

Description

Reduce resp_vars to those, which are either float or integer without VALUE_LABELS, i.e. likely numeric but not a factor

Usage

util_no_value_labels(resp_vars, meta_data, label_col, warn = TRUE, stop = TRUE)

Arguments

resp_vars

variable list len=1-2. the name of the continuous measurement variable

meta_data

data.frame the data frame that contains metadata attributes of study data

label_col

variable attribute the name of the column in the metadata with labels of variables

warn

logical warn about removed variable names

stop

logical stop on no matching resp_var

Value

character vector of matching resp_vars.


dataquieR documentation built on July 26, 2023, 6:10 p.m.