aggregate_key function

Expand a dataset to include other levels of aggregation