Data-driven solutions for sustainable agriculture and water conservation