Overview
The tabulate method in Rich Data Services is available for users to create tabulations and aggregations of their data.
Supported Functions
The tabulate method supports the following functions for the measures.
ABS | AVG | COUNT | MAX | MIN | SQRT | STDDEV_POP | SUM | VAR_POP |
---|
Step By Step
To create a tabulation we will need to specify our dimensions (the topics of interest) and measures (quantities being counted). The most basic tabulation would just be a count of the values for the dimension.
Basic Tabulation{host}/rds/catalog/test/view/tabulate?dims=var
To add a measure, fill out the measure parameter with a computed variable.
Basic Tabulation{host}/rds/catalog/test/view/tabulate?dims=var&measure=average:AVG(var2)
Multiple dimensions and measures can be added by using a comma separated list of variables for each
Multiple Dimensions and Measures{host}/rds/catalog/test/view/tabulate?dims=var1,var2&measure=avg:AVG(var3),avg2:AVG(var4)