View source: R/census_wrangle_race.R
aggregate_over_races | R Documentation |
Aggregate variables over all races/ethnicities
aggregate_over_races(.x, ..., .f = sum, .all_races_label = "All")
.x |
a tibble with variables by race but no all-race totals |
... |
<['dynamic dots'][rlang::dyn-dots]> The variables to aggregate. |
.f |
the function to aggregate with, defaults to |
.all_races_label |
the level for all races. defaults to "All" |
a tibble with values aggregated over all races
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.