Generate a string for a variable including its label
varname_w_label(
var_names,
dataset,
wrap_width = 80,
prefix = NULL,
suffix = NULL
)
(character
) String with variable name and label.
(character
) Name of variable to extract labels from.
(dataset
) Name of analysis dataset.
(numeric
) Number of characters to wrap original label to. Defaults to 80.
(character
) String to paste to the beginning/end of the variable name with label.