var_labels: Define a label for survey variables, labels are used to...

View source: R/platform_utils.R

var_labelsR Documentation

Define a label for survey variables, labels are used to identify a subset of variables using a name

Description

The name is useable with survey_labels to get the list of the variables, see Survey section of concepts

Usage

var_labels(labels, exclude = NULL)

Arguments

labels

list of label or glob pattern to identify variables matching the list

exclude

list of names to exclude after creating the list with a pattern

Details

A label can be defined as a list of variables names or as a glob pattern (like 'myvar.*') if variables are named using a convenient naming convention.

Value

character

See Also

Other platform-helpers: override(), recode_alias(), variable_available()


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.