A data analysis framework