A spatial framework for ex-ante impact assessment of agricultural technologies