Interface: TemporalSeries
@kortexya/reasoninglayer / Temporal / TemporalSeries
Interface: TemporalSeries
Defined in: src/types/temporal.ts:496
The result of folding a term selection into a temporal series.
Remarks
points is empty for a pure trend; trend is present only for trend.
The three term counts reconcile the selection: usedTerms + skippedTerms
accounts for every one of the totalTerms supplied, with terms skipped when
they lack a usable time or value feature under a skip missing-policy.
Example
const { series } = await client.temporal.temporalSeries(request);console.log(`${series.usedTerms}/${series.totalTerms} terms folded`);Properties
points
points:
TemporalSeriesPoint[]
Defined in: src/types/temporal.ts:498
Emitted aggregate points (empty for a pure trend).
skippedTerms
skippedTerms:
number
Defined in: src/types/temporal.ts:510
Terms skipped for a missing or non-numeric time/value feature.
totalTerms
totalTerms:
number
Defined in: src/types/temporal.ts:504
Total terms supplied by the selector.
trend?
optionaltrend:TemporalTrendSummary
Defined in: src/types/temporal.ts:501
Trend summary, present only for the trend operator.
usedTerms
usedTerms:
number
Defined in: src/types/temporal.ts:507
Terms that produced an observation.