We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91d4507 + 95832d7 commit 999e1f3Copy full SHA for 999e1f3
R/get_forecast_data.R
@@ -70,14 +70,14 @@ get_forecast_data <- function(
70
dplyr::filter(
71
.data$reference_date == !!reference_date,
72
!(.data$location %in% !!excluded_locations),
73
- .data$horizon %in% !!horizons_to_include,
74
- forecasttools::nullable_comparison(
75
- .data$target,
76
- "%in%",
77
- !!targets
78
- )
+ .data$horizon %in% !!horizons_to_include
79
) |>
80
- hubData::collect_hub()
+ hubData::collect_hub() |>
+ dplyr::filter(forecasttools::nullable_comparison(
+ .data$target,
+ "%in%",
+ !!targets
+ ))
81
82
all_forecasts_data <- forecasttools::pivot_hubverse_quantiles_wider(
83
hubverse_table = current_forecasts,
0 commit comments