recode_weekly: Apply common recoding for weekly data

View source: R/recode.r

recode_weeklyR Documentation

Apply common recoding for weekly data

Description

Variable recoding (from database value to label) are defined in the survey description in the platform definition file using

Usage

recode_weekly(
  weekly,
  health.status = TRUE,
  recode.temp = FALSE,
  all.variables = FALSE
)

Arguments

weekly

data.frame weekly data (return by survey_load_results)

health.status

if TRUE try to get the health status for each row as stored in the db.

recode.temp

recode temperature variable (need to be false for incidence), if TRUE recode temperature variable

all.variables

if TRUE all known variables will be recoded

Value

weekly data.frame with recoded values & extra column

See Also

survey_load_health_status


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