Clean and set the dataset