
Generate KPI Stool adequacy bar chart summary
generate_kpi_stoolad_bar.RdGenerates a bar chart highlighting percentage of priority countries achieving stool adequacy targets.
Usage
generate_kpi_stoolad_bar(c1, afp_data, output_path = Sys.getenv("KPI_FIGURES"))Arguments
- c1
tibbleOutput ofgenerate_c1_table().- afp_data
tibbleAFP dataset. List item of the output ofget_all_polio_data().- output_path
strFolder location to output the image to.
Examples
if (FALSE) { # \dontrun{
raw_data <- get_all_polio_data()
c1 <- generate_c1_table(raw_data, "2021-01-01", "2023-12-31", rolling = TRUE)
plot <- generate_kpi_stoolad_bar(c1, raw_data$afp)
} # }