group_by_keys {rolap} | R Documentation |
Group table instances by keys aggregating the measures using the corresponding aggregation function.
Description
Group table instances by keys aggregating the measures using the corresponding aggregation function.
Usage
group_by_keys(table, keys, measures, agg_functions, nrow_agg)
Arguments
table |
A |
keys |
A vector of strings, key names to group by. |
measures |
A vector of strings, measures to aggregate. |
agg_functions |
A vector of strings, aggregate functions. |
nrow_agg |
A string, name of a new column to count the number of rows aggregated. |
Value
A tibble
.
[Package rolap version 2.5.2 Index]