write_alertaRio: Write the Rio de janeiro alert into the database.

Description Usage Arguments Value Examples

View source: R/alert_functions.R

Description

Function to write the alert results into the database.

Usage

1
write_alertaRio(obj, datasource = con)

Arguments

obj

object created by the tabela_historico_intra function and contains alerts for each locality.

datasource

connection to infodengue database

Value

data.frame with the data to be written.

Examples

1
2
3
4
alerio <- pipe_infodengue_intra(city = 3304557, datarelatorio=202105, 
delaymethod="bayesian", cid10 = "A90", dataini = "sinpri")
restab <- tabela_historico_intra(alerio, iniSE = 201801) 
write_alertaRio(restab)

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