Local adoption of social and agricultural technologies