survey_load_health_status: Load health status for each weekly responses

View source: R/recode.r

survey_load_health_statusR Documentation

Load health status for each weekly responses

Description

load health status from the table (or view) in db. If weekly are store in separated tables by season, the weekly data.frame should have a "season" attribute telling which table to use (historical.tables variable should map table for each seasons)

Usage

survey_load_health_status(weekly, health.table = NULL)

Arguments

weekly

a data.frame loaded by survey_load_results (weekly survey)

health.table

name of a health status coding view. CAUTION if used, no check is done (is right table used for the right season)

Value

weekly with extra column 'status'


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