Interface: TemporalSeries
@kortexya/reasoninglayer / TemporalSeries
Interface: TemporalSeries
Section titled “Interface: TemporalSeries”Defined in: src/types/temporal.ts:493
The result of folding a term selection into a temporal series.
Remarks
Section titled “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
Section titled “Example”const { series } = await client.temporal.temporalSeries(request);console.log(`${series.usedTerms}/${series.totalTerms} terms folded`);Properties
Section titled “Properties”points
Section titled “points”points:
TemporalSeriesPoint[]
Defined in: src/types/temporal.ts:495
Emitted aggregate points (empty for a pure trend).
skippedTerms
Section titled “skippedTerms”skippedTerms:
number
Defined in: src/types/temporal.ts:507
Terms skipped for a missing or non-numeric time/value feature.
totalTerms
Section titled “totalTerms”totalTerms:
number
Defined in: src/types/temporal.ts:501
Total terms supplied by the selector.
trend?
Section titled “trend?”
optionaltrend?:TemporalTrendSummary
Defined in: src/types/temporal.ts:498
Trend summary, present only for the trend operator.
usedTerms
Section titled “usedTerms”usedTerms:
number
Defined in: src/types/temporal.ts:504
Terms that produced an observation.