Walk me through how you would engineer features from a dataset of credit card transactions to predict retail earnings.