Skip to content

Commit

Permalink
Fix two remaining issues in to_hubverse.R
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Jan 23, 2025
1 parent 79364e7 commit 3738d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/to_hubverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ get_hubverse_table <- function(quantile_forecasts,
epiyear = {{ epiyear_col }},
quantile_level = {{ quantile_level_col }}
) |>
dplyr::filter(!(location %in% !!excluded_locations))
dplyr::filter(!(.data$location %in% !!excluded_locations))

output_table <- dplyr::inner_join(targets,
quants,
by = c("epiweek", "epiyear")
) |>
dplyr::mutate(
output_type = "quantile",
output_type_id = round(quantile_level,
output_type_id = round(.data$quantile_level,
digits = 4
)
) |>
Expand Down

0 comments on commit 3738d61

Please sign in to comment.