Scale Intelligence■ Docs
Docs / The model / BasketReading

BasketReading.

A basket read over one subject, a set or groups, kept as a fact and armed over its population

Figure 1BasketReadingspecified
BASKETREADINGfact at follows scopebasketidversioncountpopulationPopulationStatementwindowWindowover one subjectmemberships[ProxyMembership]optionalover a set, one per proxyreadings[ProxyReading]optionalproxy, proxy, shared countco_membership[json]optionalover groupscells[BasketCell]optionalas_ofTwoDatesagainst the reading beforechanged[NumberChange]optionalPOPULATIONSTATEMENTthrough populationWINDOWthrough windowPROXYMEMBERSHIPthrough membershipsPROXYREADINGthrough readingsBASKETCELLthrough cellsTWODATESthrough as_of
BasketReading is a fact at follows scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
follows
key
the basket version, the population and the window
store
postgres+lake
family
rules_engine

Fields#

fieldtyperequirednote
basketidyes
versioncountyes
populationPopulationStatementyes
windowWindowyes
membershipsProxyMembershipnoover one subject
readingsProxyReadingnoover a set, one per proxy
co_membership[json]noproxy, proxy, shared count
cellsBasketCellnoover groups
as_ofTwoDatesyes
changedNumberChangenoagainst the reading before

Routes that use it#