Skip to content

Commit 6391947

Browse files
committed
add dhm suggested edits
1 parent ec67674 commit 6391947

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

R/summarize_ref_date_forecasts.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ summarize_ref_date_forecasts <- function(
120120
),
121121
forecast_due_date = as.Date(!!reference_date) - 3,
122122
location_sort_order = ifelse(.data$location_name == "US", 0, 1)
123+
# order table with national first, then alphabetically
123124
) |>
124125
dplyr::arrange(.data$location_sort_order, .data$location_name) |>
125126
dplyr::left_join(

R/write_ref_date_summary.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ write_ref_date_summary <- function(
9191

9292
#' Write ensemble forecast summary to disk.
9393
#'
94-
#' Function that generates and writes ensemble-only forecast data. This
95-
#' replicates the behavior of the old `get_map_data()` function.
94+
#' This function generates and writes ensemble-only forecast data.
9695
#'
9796
#' @param reference_date character, the reference date for
9897
#' the forecast in YYYY-MM-DD format (ISO-8601).
@@ -171,8 +170,7 @@ write_ref_date_summary_ens <- function(
171170

172171
#' Write all-models forecast summary to disk.
173172
#'
174-
#' This function generates and writes forecast data for all models. This
175-
#' replicates the behavior of the legacy `get_forecast_data()` function.
173+
#' This function generates and writes forecast data for all models.
176174
#'
177175
#' @param reference_date character, the reference date for
178176
#' the forecast in YYYY-MM-DD format (ISO-8601).

0 commit comments

Comments
 (0)