How do you ensure data quality and integrity when merging multiple legacy datasets for a new analysis?