PivotData function

R6 class that contains named data frames and associated totals.