Multiplexer: Compute Multiple Aggregates Simultaneously

Description Usage Arguments Details Value Author(s)

Description

Performs multiple aggregates on the data and returns the individual results together in one waypoint.

Usage

1

Arguments

data

A waypoint.

...

Specification of the inner GLAs. See ‘details’ for more information.

Details

The inner GLAs should be specified as a list of calls to other aggregate functions, such as Sum or Mean. In each of these calls, the data argument should be omitted, as it is inferred to be the data passed to GroupBy. Additionally, each argument specifying an inner GLA may be named. If so, that name is taken to be the output of the corresponding GLA. This is purely a stylistic shortcut and the normal method of specifying the outputs can still be used instead.

The outputs of these inner GLAs should avoid name clashing both with each other.

In the case that one inner GLA produces multiple rows and the rest produce a single row, each of the single row outputs are repeated accordingly.

If more than one inner GLA produces multiple rows, an error is thrown.

Value

A waypoint.

Author(s)

Jon Claus, <jonterainsights@gmail.com>, Tera Insights, LLC.


tera-insights/gtBase documentation built on May 31, 2019, 8:35 a.m.