Description Usage Arguments Value Examples
View source: R/utility_tools.R
Read the alert parameters for a set of cities from the database, to be used in the infodengue pipeline. Currently, the parameters are: "limiar_preseason" (pre-season incidence threshold calculated using MEM), "limiar_posseason" (pos-season incidence threshold), "limiar_epidemico"(epidemic threshold), "varcli" (name of the critical meteorological variable), "clicrit" (critical value of the meteorological variable), "cid10", "codmodelo" (name of the heuristic decision model, see serCriteria()). These parameters are specified when the city is initiated in the pipeline.
1 | read.parameters(cities, cid10 = "A90", datasource = con)
|
cities |
cities' geocodes. Tip: find them using getCidades(). |
cid10 |
Dengue = "A90" (default), Chik = "A92.0", Zika = "A92.8" |
datasource |
SQL connection to the database |
dataframe with all parameters
1 2 3 | read.parameters(cities = 3118601, cid10 = "A90")
cid <- getCidades(regional = "Norte",uf = "Rio de Janeiro")
read.parameters(cities = cid$municipio_geocodigo, cid10 = "A90")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.