Versions:
Time-weighted average functions ToolkitTimescaleDB Toolkit functions are available under Timescale Community Edition. They are automatically included with Timescale Cloud. Click to learn more.
Toolkit
TimescaleDB Toolkit functions are available under Timescale Community Edition. They are automatically included with Timescale Cloud. Click to learn more.
This section contains functions related to time-weighted averages. Time weighted averages are commonly used in cases where a time series is not evenly sampled, so a traditional average gives misleading results. For more information about time-weighted average functions, see the hyperfunctions documentation.
Some hyperfunctions are included in the default TimescaleDB product. For additional hyperfunctions, you need to install the Timescale Toolkit PostgreSQL extension.
Hyperfunction subfamily | Hyperfunction type | API call | Toolkit | Experimental |
---|---|---|---|---|
Time-weighted averages | Aggregate | time_weight() | ✅ | |
Accessor | average() | ✅ | ||
interpolated_average() | ✅ | ✅ | ||
Rollup | rollup() | ✅ |
Found an issue on this page?
Report an issue!