aggregateData function

Aggregate event report data