Skip to content

FEAT: Allow aggregation across full time series (NRFA use case) #115

Description

@richjam

Describe the feature

Currently, aggregations in time-stream require a specified period (e.g., daily, monthly). Extend functionality to support aggregating across the full timeseries, or a defined subset using the existing observation_interval parameter. This will enable calculations like overall mean, min, max, or percentile for the entire dataset or a chosen date range.

Acceptance Criteria:

Aggregation can run without an explicit period, defaulting to the full time series.
Users can provide observation_interval=(start, end) to restrict aggregation to a subset of the series.
Works with all existing aggregation functions (mean, min, max, percentile, etc.).
API is consistent with period-based aggregation
Unit tests cover full-series aggregation, bounded intervals, and edge cases (empty intervals).

Motivation

More flexible aggregation capability

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions