
Plot Coverage Over Time
plot_coverage_trend.RdComputes coverage using compute_coverage() (with ref_date always
included, aggregated across variables) and renders a trend line via
plot_trend().
Arguments
- data
A data frame. Typically the contract, personnel, or establishment dataset for the active module.
- group_col
A string. Grouping variable inherited from the
coverage_groupUI input (e.g."ref_date","grade_id").- toggle_growth
Logical. When
TRUEthe y-axis switches to a baseline-index view (first period = 100). Defaults toFALSE.- group
Deprecated. Use
group_colinstead.