Adds the investigation_type column to the raw_data

This depends on #354