Aggregates an epi_df
object by the specified group columns, summing the
value
column, and returning an epi_df
. If aggregating over geo_value
,
the resulting epi_df
will have geo_value
set to "total"
.
Usage
sum_groups_epi_df(.x, sum_cols = "value", group_cols = character())