Module clipivot::aggregation

source ·
Expand description

The module that actually aggregates the records.

It has three main methods: new, which initializes the data; aggregate, which takes a csv file and creates an IndexMap of Accumulators; and write_results which outputs the aggregated values to standard output.

Structs

  • The object that computes the aggregations and writes to standard output.

Enums

  • How the rows or columns are going to be sorted
  • The general type of data being used. I’ve used this to implement better error handling. See the GitHub page for more details on the meaning of these functions.