decider_barplot_map_table.Rd
Depending on the category which should be visualised (regional variable) or non regional category such as age_group, sex, ... a map is tried for plotting or a barchart.
decider_barplot_map_table(
signals_agg,
data_surveillance,
signal_category,
interactive = TRUE,
toggle_alarms = FALSE
)
tibble, aggregated signals over n weeks with columns number of cases, any_alarms and n_alarms aggregate_signals
. This tibble can contain the aggregated signals for multiple categories i.e. state and county.
data.frame, surveillance linelist
character, naming the category which should be visualised, i.e. "state","age_group","sex"
boolean identifying whether the plot should be static or interactive
boolean identifying whether the plot should showing number of signals explicitly or only when hovering
a table or a plot depending on signal_category, the table and plots can be interactive or not depening on the interactive parameter, can be class "ggplot" or "plotly" for plot and class "gt_tbl" or "datatables" for table