Aggregation of data in an interlocking trees datastore, especially when
the interlocking datastore is a KStore is described. It details
consolidating data into a summary or aggregation so that some particular
desired analytic type of operation may easily be performed on the data.
It uses a set of data constraints across the entire data set. This
redefines the data set, which may be for example, individual receipts
granular by week or month. When data is learned into a KStore,
aggregation parameters may be collected and these parameters may be used
to constrain the dataset recorded in K, and direct performance of an
analytic on a particular a field value(s). Additional features and
details are provided within.