Calculate a weekly mean
- Uses range() to define a time range.
- Sends the weekly mean to a new bucket (
weekly_means
)
_start | _stop | _field | _measurement | location | _value | _time |
---|---|---|---|---|---|---|
2019-09-01T11:24:00Z | 2020-10-19T20:39:49Z | degrees | average_temperature | santa_monica | 80.19952494061758 | 2019-09-05T00:00:00Z |
2019-09-01T11:24:00Z | 2020-10-19T20:39:49Z | degrees | average_temperature | santa_monica | 80.01964285714286 | 2019-09-12T00:00:00Z |
2019-09-01T11:24:00Z | 2020-10-19T20:39:49Z | degrees | average_temperature | santa_monica | 80.20451 |