Process raw data and export for analysis