Skip to content

Commit

Permalink
Remove unneeded column
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Feb 5, 2025
1 parent 53bcede commit d7c5b18
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pipelines/hubverse_score.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ score_and_save <- function(observed_data_path,
full_scorable_table <- all_paths |>
purrr::pmap(read_and_prep_for_scoring) |>
dplyr::bind_rows() |>
dplyr::select(-"other_ed_visit_forecast")
dplyr::select(
-"other_ed_visit_forecast",
-"source_samples"
)


message("Finished reading in forecasts and preparing for scoring.")
message("Scoring forecasts...")
Expand Down Expand Up @@ -218,12 +222,6 @@ score_and_save <- function(observed_data_path,

locations <- unique(full_scorable_table$location)

print(full_scorable_table |>
dplyr::filter(
is.na(.data$quantile_level),
.data$location == "US"
))

pred_actual_by_horizon <-
purrr::map(
locations,
Expand Down

0 comments on commit d7c5b18

Please sign in to comment.