SyndromeProviderCountry: Syndrome Provider

SyndromeProviderCountryR Documentation

Syndrome Provider

Description

Syndrome Provider

Syndrome Provider

Super class

ifnBase::SyndromeProvider -> SyndromeProviderCountry

Public fields

pain.age.limit

Age to take into account of pain. Under this age pain=TRUE (disabled if NA)

country

Country code

season

Season number concepts

use.fever.level

Use fever level when definition request a fever level or only the fever=TRUE

unknown.has.fever

if TRUE consider that unknown fever status is fever=TRUE

min.syndrome.count

Minimum syndrom count to take into account when definition doesnt say it

Methods

Public methods

Inherited methods

Method new()

Instanciate

Usage
SyndromeProviderCountry$new(
  country,
  season,
  use.fever.level = T,
  unknown.has.fever = T,
  min.syndrome.count = 1,
  pain.age.limit = NA
)
Arguments
country

country code

season

season number

use.fever.level

logical use fever level variable

unknown.has.fever

unknown fever has fever

min.syndrome.count

count of symptom to take into account for some definition

pain.age.limit

age under wich to exclude pain from definition


Method compute()

Compute definitions for all syndromes

Usage
SyndromeProviderCountry$compute(weekly, intake)
Arguments
weekly

weekly data

intake

intake data with at least 'person_id', 'age' column


Method clone()

The objects of this class are cloneable with this method.

Usage
SyndromeProviderCountry$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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