Published September 16, 2026
| Version v1.2
Data paper
Open
Scientific response to food security in public health: a global longitudinal secondary-data study of governance and population-level indicators
Authors/Creators
Description
fs-food-security-animal-prod-agri-systems
Code and data to reproduce the income-group analyses for Manuscript (Animal Production and Agri-food Systems).
What this repo contains
data/
step_1_income_food_production.xlsx— Step 1 (stratified bivariate models by income group)step_2_income_food_production.xlsx— Step 2 (hierarchical/mixed-effects panel models)step_3_income_food_production.xlsx— Step 3 (mixed-effects moderator screening)
src/
Main Analysis.R— main analysis pipeline (requires the master input dataset; update the input path at the top of the script).Plots.R— figure generation from thedata/step_*files (update theread_excel()paths at the top to point todata/).
Quick start (R)
- Open R in the repository root.
- Install packages (if needed):
readxl,dplyr,tidyr,ggplot2,scales,gridExtra,grid, plus modeling packages used in the pipeline (MASS,sandwich,lmtest,lme4,glmmTMB). - Reproduce figures:
- Edit the three
read_excel()lines at the top ofsrc/Plots.Rto usedata/step_*.xlsx. - Run:
source("src/Plots.R")
- Edit the three
Data Availability
This project uses openly available data from public databases. The bibliometric dataset used is available upon reasonable request.
License
This repository is licensed under the MIT License, allowing free use, modification, and distribution with attribution. See LICENSE file for more details.
Files
AndyPaaai/fs-food-security-animal-prod-agri-systems-v1.2.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/AndyPaaai/fs-food-security-animal-prod-agri-systems/tree/v1.2 (URL)