SurveyLabeller | R Documentation |
Class to manipulate survey 'labels' (list of labels or columns) Labeller object expose several methods useful to manipulate labels set
labels
List of values to be used a labels
glob
pattern if the label is implicitly defined by a pattern
new()
SurveyLabeller$new(survey, name)
survey
survey name
name
labels set name in the survey definition Get list of labels
list()
SurveyLabeller$list(.data = NULL)
.data
only keep labels present in names of this dat Remove common prefix labels (only works with glob pattern defined labels like 'vacc.flu.*')
unprefix()
SurveyLabeller$unprefix()
function to remove prefix, can be use as a labeller function (in ggplot2 for example)
clone()
The objects of this class are cloneable with this method.
SurveyLabeller$clone(deep = FALSE)
deep
Whether to make a deep clone.
Survey section concepts
Other survey:
survey_aliases()
,
survey_definition()
,
survey_labeller()
,
survey_labels()
,
survey_recode()
,
survey_recodings()
,
survey_rename_columns()
,
survey_variable_recoding()
,
survey_variables_like()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.