Set Haver Analytics aggregation mode


X = aggregation (C)
X = aggregation (C,V)


X = aggregation (C) returns the current aggregation mode.

X = aggregation (C,V) sets the current aggregation mode to V. The following table lists possible values for V.

Value of VAggregation mode Behavior of aggregation function
0strictaggregation does not fill in values for missing data.
1relaxedaggregation fills in missing data based on data available in the requested period.
2forcedaggregation fills in missing data based on some past value.
-1Not recognizedaggregation resets V to its last valid setting.

Was this topic helpful?