
AFP cases by ctry and year
generate_afp_ctry_year.RdGenerates a tile plot for the number of AFP cases per month by country.
Usage
generate_afp_ctry_year(
afp.by.month.ctry,
start_date,
end_date = lubridate::today(),
output_path = Sys.getenv("DR_FIGURE_PATH"),
.height = 5
)Arguments
- afp.by.month.ctry
tibbleTable summarizing AFP cases by month and province. This is the output ofgenerate_afp_by_month_summary().- start_date
strStart date of the analysis.- end_date
strEnd date of the analysis. By default, it displays the most recent date.- output_path
strLocal path to output the figure.- .height
intChange the height of the figure. Defaults to 5.