get_regions_with_most_reports | R Documentation |
Extract a vector of regions with the most reported cases in a set time window.
get_regions_with_most_reports(reported_cases, time_window = 7, no_regions = 6)
reported_cases |
A data frame of confirmed cases (confirm) by date
(date), and region ( |
time_window |
Numeric, number of days to include from latest date in data. Defaults to 7 days. |
no_regions |
Numeric, number of regions to return. Defaults to 6. |
A character vector of regions with the highest reported cases
Sam Abbott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.