survey_variable_recoding: Get the recoding mapping of a variable in a survey

View source: R/survey.r

survey_variable_recodingR Documentation

Get the recoding mapping of a variable in a survey

Description

Get the recoding mapping of a variable in a survey

Usage

survey_variable_recoding(survey, name, must.exists = TRUE)

Arguments

survey

character survey name

name

variable name

must.exists

if TRUE an error will be raised if name doesnt exists in survey definition

Value

vector with label as name, database value as value

See Also

Other survey: SurveyLabeller, survey_aliases(), survey_definition(), survey_labeller(), survey_labels(), survey_recode(), survey_recodings(), survey_rename_columns(), survey_variables_like()


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