survey_recode_all: Recode all known variables in survey data

View source: R/recode.r

survey_recode_allR Documentation

Recode all known variables in survey data

Description

Recode all known variables in survey data

Usage

survey_recode_all(data, survey, warn = FALSE, check_mapping = NULL)

Arguments

data

data.frame with weekly data

survey

survey name (as it is registered in platform_define_survey)

warn

if TRUE show warning if a variable is already recoded, default is FALSE

check_mapping

check mapping completeness see recode_var

Value

data with recoded variable (to factor)


cturbelin/ifnBase documentation built on July 4, 2025, 6:23 p.m.