LINEAR

The LINEAR aggregation function can take several time series as input, and merge them into a single time series in output.

See Also
RESULT SET
AGGREGATE
GROUP BY
Choose Where to Apply Aggregations
Parameter Description
Filter expressionAn expression to keep some elements only. It is useful to process the aggregation on a subpart of your input stream.
Expression Extracts a time series from the input element. For example, income.history if your input is a stream of persons.

Default: identity function.

Interpolation Specify how to draw missing values between 2 known points in the time series.

Linear: Estimates the missing value by joining the 2 known data points with a line.

Previous: Takes the same value as the previous known data point in the time series to draw the missing value.

Next: Takes the same value as the next known data point in the time series to draw the missing value.

Nearest: Takes the same value as the nearest known data point in the time series to draw the missing value.

Function Choose between Average, Max, Min, Percentile, Sum.

For example, if you choose Average, for each time instant, the aggregation makes an average of each point in the time series in input, takes the Interpolation into account, and calculates a point for the time series that comes in output.