Published September 19, 2022 | Version V2

More accurate specification of water supply shows its importance for global crop production

  • 1. Harvard University
  • 2. University of California Irvine
  • 3. Woods Hole Oceanographic Institution

Description

Replication code for “More accurate specification of water supply shows its importance for global crop production”

Authors: Jonathan Proctor, Angela Rigden, Duo Chan and Peter Huybers

Journal: Nature Food

Year: 2022

Contact: jproctor1@fas.harvard.edu

Description: the “proctor2022_replication” folder contains the code and data to replicate all main text, extended data (ED), and supplementary (S) figures and tables. Scripts also replicate analyses relevant to the supplementary discussions. The working directory should be set to the main replication folder — “proctor2022_replication” — at the top of each script. All code is written in R version 3.6.3. The figure (Fig), table (Tab), or discussion (Diss) that each script replicates is indicated in the script name, and output is saved in the “Results” folder.

Please contact Jonathan Proctor (jproctor1@fas.harvard.edu) with any questions. Users of this data should please cite Proctor et al. (2022).

Files

proctor2022_replication.zip

Files (880.3 MB)

Name Size
md5:7a7e620f0f59d600280a36257661161d
880.3 MB Preview Download