Skip to content

Commit

Permalink
feat(incidence): add cache and ruta_dir parameter
Browse files Browse the repository at this point in the history
Ref: #206
  • Loading branch information
GeraldineGomez committed Nov 13, 2024
1 parent 69b0c68 commit 1b75479
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions R/checking_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -1108,8 +1108,8 @@ calcular_incidencia_geo <- function(data_incidencia = NULL,
poblacion = poblacion,
event = nombre_evento,
year = year,
ruta_dir = ruta_dir,
cache = cache
cache = cache,
ruta_dir = ruta_dir
)
data_incidencia <- pop_incidencia$data_incidencia
poblacion <- pop_incidencia$poblacion
Expand Down Expand Up @@ -1164,7 +1164,9 @@ calcular_incidencia_geo <- function(data_incidencia = NULL,
poblacion = poblacion,
dpto = mpio_fila[[nomb_cols[1]]],
mpio = mpio_fila[[nomb_cols[3]]],
year = year
year = year,
cache = cache,
ruta_dir = ruta_dir
)
geo_incidencia[fila] <- incidencia$incidencia
}
Expand Down Expand Up @@ -1301,7 +1303,9 @@ calcular_incidencia_sex <- function(data_incidencia = NULL,
dpto = dpto,
mpio = mpio,
sex = sex_fila[["sexo"]],
year = year
year = year,
cache = cache,
ruta_dir = ruta_dir
)
incidencia[fila] <- incidencia_sex$incidencia
}
Expand Down

0 comments on commit 1b75479

Please sign in to comment.