Skip to content

Commit

Permalink
corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Dec 11, 2023
1 parent b04cabf commit 44a6117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/auto_download/cases-deaths/get-ecdc.r
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ get_ecdc <- function(earliest_date = lubridate::today() - 7,
path = snapshots_path,
.limit = Inf)
file_names <- vapply(files, `[[`, "name", FUN.VALUE = "") |>
- grep(pattern = "nonSentinel", value = TRUE )
grep(pattern = "nonSentinel", value = TRUE)
existing_files <- list.files(
here::here("data-truth", "ECDC", "snapshots"),
pattern = "nonSentinel"
Expand All @@ -52,7 +52,7 @@ get_ecdc <- function(earliest_date = lubridate::today() - 7,
target_variable = recode(indicator,
"deaths" = "inc death",
"detections" = "inc case",
),
),
date = ISOweek::ISOweek2date(paste0(yearweek, "-6")),
source = "ECDC"
) |>
Expand Down

0 comments on commit 44a6117

Please sign in to comment.