Code and data associated with Cabodevilla, X., Wright, A. D., Villanua, D., Arroyo, B., and Zipkin, E. F. (2022). The implementation of irrigation leads to declines in farmland birds. Agriculture, Ecosystems, and Environment 323 (2022) 107701. https://doi.org/10.1016/j.agee.2021.107701