compute_weekly_syndromes: Create syndrome columns in the weekly data

View source: R/incidence_data_loader.R

compute_weekly_syndromesR Documentation

Create syndrome columns in the weekly data

Description

This function use syndrome classifier (called provider)

Usage

compute_weekly_syndromes(
  intake,
  weekly,
  health.status = TRUE,
  keep.status = FALSE,
  regroup.syndromes = TRUE,
  provider = NULL
)

Arguments

intake

intake data.frame()

weekly

weekly data.frame()

health.status

bool use the default health status computed using InfluenzaNet default strategy (used in the website)

keep.status

bool keep the original health status (from InfluenzaNet view), renamed to "status.old"

regroup.syndromes

bool use syndrome grouping (recode syndrome list for Influenzanet's health status list) to a simplier list

provider

function(weekly,intake) returning a data.frame to be merged into weekly (using "id" weekly's column as merge key), usable to compute custom syndromes


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