recode_intake: Recode Intake variables to more error-proof labels Value to...

View source: R/recode.r

recode_intakeR Documentation

Recode Intake variables to more error-proof labels Value to label mapping are defined in the survey platform_define_survey

Description

Recode Intake variables to more error-proof labels Value to label mapping are defined in the survey platform_define_survey

Usage

recode_intake(intake, translate = FALSE, remove = TRUE, mode = "all")

Arguments

intake

data.frame() raw intake data

translate

translate levels

remove

if TRUE remove date.birth after the age is computed

mode

recoding mode, by default all known variables will be recoded

Value

intake with recoded variables


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