Integrating creative logic and data analytics