Skip to content

Commit

Permalink
chore: add ruta_dir parameter to invoke import_pob_incidencia
Browse files Browse the repository at this point in the history
Ref: #206
  • Loading branch information
GeraldineGomez committed Nov 18, 2024
1 parent 8349895 commit b95624d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,9 @@ obtener_pob_incidencia <- function(data_incidencia = NULL,
data_incidencia <- import_pob_incidencia(
poblacion = poblacion,
event = event,
year = year
year = year,
cache = cache,
ruta_dir = ruta_dir
)
if (poblacion == "riesgo") {
if (!is.null(data_incidencia)) {
Expand All @@ -610,7 +612,8 @@ obtener_pob_incidencia <- function(data_incidencia = NULL,
data_incidencia <- import_pob_incidencia(
poblacion = poblacion,
cache = cache,
year = year
year = year,
ruta_dir = ruta_dir
)
message(
"Las incidencias se calcularon con las proyecciones ",
Expand Down

0 comments on commit b95624d

Please sign in to comment.