Data is cleaned and validated