submission_summary.RdThis function summarizes and reformats submission data as 4-week ahead counts and percent change. The summaries are stratified by location and target (incident cases, incident deaths, and cumulative deaths).
submission_summary(.data, submission, location = NULL)
| .data | Tibble with historical data for trend leading up to forecast |
|---|---|
| submission | Formatted submission |
| location | Vector specifying locations to filter to; |
Named list with summarized count and percent change data. Each summary is stratified by target and returned in the list as a tibble with columns for "location", "Previous" (value week prior to forecast), "1w ahead", "2w ahead", 3w ahead, and "4w ahead".