survey_recode | R Documentation |
This function recode from database values to labels (more meaningful). The recoding mapping for each variable is
defined platform_define_survey
usually in the platform file
survey_recode(x, variable, survey, translate = F, question = NULL)
x |
values to recodes |
variable |
name of the question variable name to use for recoding |
survey |
name of the survey |
translate |
if TRUE, try to translate the labels (using i18n function @seealso i18n) |
question |
old parameter name for variable, for compatibility |
vector of recoded value in factor
Other survey:
SurveyLabeller
,
survey_aliases()
,
survey_definition()
,
survey_labeller()
,
survey_labels()
,
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.