A quantitative and qualitative approach to data cleaning