Skip to content

Commit

Permalink
provide missing namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
damonbayer committed Nov 19, 2024
1 parent 5460463 commit 9634b33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipelines/timeseries_forecasts.R
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ disease_name_nssp_map <- c(

# replace this with functionality from hewr
disease_name_raw <- model_run_dir |>
path_split() |>
pluck(1) |>
fs::path_split() |>
purrr::pluck(1) |>
tail(3) |>
head(1) |>
str_extract("^.+(?=_r_)")
stringr::str_extract("^.+(?=_r_)")

disease_name_nssp <- unname(disease_name_nssp_map[disease_name_raw])

Expand Down

0 comments on commit 9634b33

Please sign in to comment.