Logo Lanfrica

lenobue/LME-maize-yields-SSA

Domain:

agriculture

Record type:

dataset
Creator:
len
Host:
As part of my bachelor's thesis ("Which determinants influence maize yields in sub-Saharan countries?"), I created linear mixed models and calculated the influence of different variables on maize yields in Burundi, Kenya, Rwanda, and Tanzania. All datasets and scripts used are included here. # Linear mixed effect models As part of my bachelor's thesis ("Which determinants influence maize yields in sub-Saharan countries?"), I created linear mixed models and calculated the influence of different variables on maize yields (crop cuts) in Burundi, Kenya, Rwanda, and Tanzania (2016-2020). All datasets and scripts used are included here. Code and Data for: Processing the OneAcreFund dataset, extracting climate data from raster files, setup and validation of linear mixed effect models Date used: CHIRPS: chc.ucsb.edu ERA5-Land: cds.climate.copernicus.eu ESA CCI: esa-soilmoisture-cci.org OneAcreFund: oneacrefund.org 1. Processing OneAcreFund crop cut data: -> Removal of incomplete observations, outlier removal, creation of a nitrogen variable, clustering data based on planting/harvesting date The data processing of the OneAcreFund dataset can be found in: LME-maize-yields-SSA/code/01_OneAcreFund.Rmd The creation of the nitrogen variable can be found here: LME-maize-yields-SSA/code/05_N_equ.RMD Clustering can be found here: LME-maize-yields-SSA/code/08_Cluster.Rmd 2. Extracting climate data from raster cells for every crop cut and creating timeseries: The extraction from raster data and creating of timeseries for every crop cut can be found in: LME-maize-yields-SSA/code/02_Timeseries.Rmd -> the finished time series datasets are not uploaded, due to the data volume Calculating the growing season value for each variable: LME-maize-yields-SSA/code/03_Growing Season.Rmd -> results: LME-maize-yields-SSA/data/climate_data/... Introduction of a variable for heat days: LME-maize-yields-SSA/code/04_KDD.Rmd -> results: LME-maize-yields-SSA/data/climate_data/... 3. Merging crop cut data and growth season values and standardization of data + check for collinearity: LME-maize-yields-SSA/code/06_df_setup.Rmd -> results: LME-maize-yields-SSA/data/model_data/ …