Re-implemented data analysis route