Description Usage Arguments Value Examples
View source: R/utility_tools.R
Write the alert parameters for each city into the database, to be used in the update.alert. Currently, the parameters are: "limiar_preseason", "limiar_posseason", "limiar_epidemico,"varcli", "varcli2", "clicrit", "clicrit2" , "cid10", "codmodelo". City must be already in the regionais table.
1 | write_parameters(city, cid10, params, overwrite = FALSE, datasource = con)
|
params |
vector of the names of the params to be inserted in the table. Limiar is given as incidence. It can be a subset of the default. |
the new line in the parameters table
1 2 3 | pars = data.frame(municipio_geocodigo = 3506003,limiar_preseason = 4.50243, limiar_posseason = 3.962566,
limiar_epidemico = 67.72364, varcli = "temp_min", clicrit = 22, cid10 = "A90", codmodelo = "Af")
res = write_parameters(params$municipio_geocodigo, params$cid10, params = pars)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.