Global Food Dollar Research Project
This repository is created to share data and code of the global food dollar research project.
1. Computation of Farm Shares
This section contains the data and SAS script for computing global food dollars.
- sqlGFD.zip is the SAS data library.
- GFD.sas is the SAS code for computing global food dollars using the sqlGFD library.
Instructions:
-
Please uncompress the downloaded data library to have the sqlGFD library in your directory.
-
Specify the directory of the sqlGFD library in the libname statement in the GFD.sas code.
2. Data Preparation for Regression Analysis
This section contains data and Stata scripts to create the dataset for regression analysis. If you prefer to skip the data preparation step, the final dataset is also available at Here.
-
The DataPreparation zipped folder contains all source data needed for this step.
-
The STATA script is developed to merge data from different sources for regression.
Instructions:
-
Please download the DataPreparation zipped file and uncompress it to have the “DataPreparation” folder in your working directory.
-
Make sure that the working directory is specified properly in the “cd” command (included in the Stata code).
-
Create a “Data” folder in the working directory to save output data.
Major steps in this Stata code includes:
a. Reshape farm share data
b. Prepare population, urbanization, GDP, access to electricity data from World Bank
c. Prepare gross production values, agricultural value added and land data from FAOSTAT
d. merge all data sets.
The final dataset is also available to download if you prefer to skip the data preparation step.
3. Regression Analysis
This section contains the cleaned dataset and Stata code of creating regression results (table S4 in the supplementary materials)
-
The Stata dataset is developed for the regression analysis.
-
Stata code can be used to replicate the regression analysis in table S4.
Instructions:
-
Please download the zipped file, uncompress it to have the “Data” folder in your working directory.
-
Make sure that the working directory is specified properly in the “cd” command (included in the Stata code.
Acknowledgments:
E, Meemken acknowledges support from the German Research Foundation (DFG-fellowship GZ: ME 5179/1-1).
The findings and conclusions in this manuscript are those of the authors and should not be construed to represent any official USDA or U.S. Government determination or policy.
Funding:
This work was supported by the Cornell SC Johnson College of Business and Cooperative Agreement number 58-4000-8-0051 between Cornell University and the Economic Research Service of the U.S. Department of Agriculture.