pipe_infodengue_intra: 4 level alert Green-Yellow-Orange-Red for partitions within...

Description Usage Arguments Value Examples

View source: R/alert_functions.R

Description

Yellow is raised when environmental conditions required for positive mosquito population growth are detected, green otherwise.Orange indicates evidence of sustained transmission, red indicates evidence of an epidemic scenario.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
pipe_infodengue_intra(
  city,
  locs,
  datarelatorio,
  cid10 = "A90",
  iniSE = 201001,
  delaymethod = "none",
  narule = "arima",
  finalday = Sys.Date(),
  dataini = "sinpri",
  datasource = con
)

Arguments

city

geocode (one city at a time). Currently only works for Rio.

locs

subset of localities. Currently not used.

datarelatorio

last epidemiological week (format = 201401)

cid10

default is A90 (dengue). Chik = A920.

iniSE

first epidemiological week

delaymethod

"none" (Default) or "bayesian"

narule

how to fill climate missing data (arima is the only option)

dataini

"sinpri" or "notif". Default = "sinpri"

datasource

name of the sql connection.

Value

list with an alert object for each APS.

Examples

1
2
3
4
alerio <- pipe_infodengue_intra(city = 3304557, datarelatorio=202113, 
delaymethod="bayesian", cid10 = "A90", dataini = "sinpri")
ale.chik <- pipe_infodengue_intra(city = 3304557, datarelatorio = 202108, 
iniSE = 201001, cid10 = "A920", dataini = "sinpri", delaymethod = "bayesian")

claudia-codeco/AlertTools documentation built on Aug. 12, 2021, 9:58 a.m.