Aggregation Rule

class cleaninsights.aggregation_rule.EventAggregationRule(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)

The rule how to aggregate the value of an event (if any given) with subsequent calls.

AVG = 'avg'

Calculate the mean average of the values.

SUM = 'sum'

Calculate the sum of the values.