Code and limited data for: Rotational complexity increases cropping system output under poorer growing conditions

Description


This work was conducted by the Diverse Rotations Improve Valuable Ecosystem Services (DRIVES) project, based in the USDA-ARS Sustainable Agricultural Systems Lab in Beltsville, MD. The DRIVES team compiled a database of 20-plus long-term cropping systems experiments in North America in order to conduct cross-site research. This repository contains all scripts from our first research paper from the DRIVES database: "Rotational complexity increases cropping system output under poorer growing conditions," published in One Earth (in press). This analysis uses crop yield and experimental design data from the DRIVES database and public data sources for crop prices and inflation. This repository includes limited datasets derived from public sources or lacking connection to site IDs. We do not have permission to share the full primary dataset, but can provide data upon request with permission from site contacts.

The scripts show all data setup, analysis, and visualization steps used to investigate how crop rotation diversity (defined by rotation length and the number of species) impacts productivity of whole rotations and component crops under varying growing conditions. We used Bayesian multilevel modeling fit to data from 20 long-term cropping systems datasets in North America (434 site-years, 36,000 observations). Rotation- and crop-level productivity were quantified as dollar output, using price coefficients derived from National Agriculture Statistics Service (NASS) price data (included in repository). Growing condtions were quantified using an Environmental Index calculated from site-year average output. Bayesian multilevel models were implemented using the 'brms' R package, which is a wrapper for Stan.

Descriptions of all files are included in README.pdf.

Resources

Name Format Description Link
lookUpResultsSummaryStats_revision.R R Open resource
priorPredictionTesting_20231215.R R Open resource
obtainResultsFromRCIModels_EIDIanalysis_revision.R R Open resource
setUpDataViewsForFocalAndRotationYield_revision.R R Open resource
setUpForEIDIanalysis_revision.R R Open resource
setUpForFigures_revision.R R Open resource
specifyAndRunRCImodels_revisionV01.R R Open resource
supplementCode_cropPriceCoefficientSensitivityAnalysis.R R Open resource
supplementCode_detrendingCropYields.R R Open resource
supplementCode_managementContrasts_revision.R R Open resource
supplementCode_posteriorPredictionPlots_revision.R R Open resource
supplementCode_siteCoefficients_revision.R R Open resource
supplementFigures_CropPriceSensitivityAnalysis.R R Open resource
tableCode_summaryCoefficients_revision.R R Open resource
applyDetrendingToYieldData.R R Open resource
checkModels_RCI_revision.R R Open resource
designRotationReferenceSummaryFigures_KEM.R R Open resource
figureCode_RCIvRCIEIslope_revision.R R Open resource
HPDIfunction.R R Open resource
loadModelFitsForRCI_revision.R R Open resource
cropCategories.R R Open resource
functionToCalculateRotationalIndices20220913.R R Open resource
NASScropPriceAveragesWithInflation1991to2019.csv CSV Open resource
NASScropPriceCategoryCodingDE.csv CSV Open resource
US Inflation 1990-2022 OECD Consumer Price Index.csv CSV Open resource
NASScropPricesByMarketYear1991to2019.csv CSV Open resource
objectsForDetrending.RData Unknown Open resource
KEMfiguringOutDetrendingWithSiteData.R R Open resource
figureCode_RCI123_revision.R R Open resource
README.pdf PDF Open resource

Tags

Topics

Categories