Added functionality to flatten the shopping history into a form that can be used for modeling.