What to Keep and How to Analyze It: Data Curation and Data Analysis with Multiple Phases