Filters

Here are listed all available filters that can be applied on series. Some filters have parameters, some don't. Parameters defined for a filter are all mandatory.

Aggregate [aggregate]

Reduce time series frequency aggregating time series values

Parameters

Frequency [frequency]
type: string
allowed values:
  • Annual [annual]
  • Bi-annual [bi-annual]
  • Quarterly [quarterly]
  • Monthly [monthly]
  • Daily [daily]
Method [method]
type: string
allowed values:
  • Average [average]
  • End of period [end_of_period]
  • Sum [sum]

JSON example

{
  "code": "aggregate",
  "parameters": {
    "frequency": "annual",
    "method": "average"
  }
}

Interpolate [interpolate]

Increase time series frequency adding values

Parameters

Frequency [frequency]
type: string
allowed values:
  • Annual [annual]
  • Bi-annual [bi-annual]
  • Quarterly [quarterly]
  • Monthly [monthly]
  • Daily [daily]
Method [method]
type: string
allowed values:
  • Linear [linear]
  • Spline [spline]

JSON example

{
  "code": "interpolate",
  "parameters": {
    "frequency": "annual",
    "method": "linear"
  }
}

Deseasonalize [x13]

Seasonal adjustment filtering using X13 algorithm

This filter takes no parameter.

JSON example

{
  "code": "x13",
  "parameters": {}
}