Published September 16, 2026 | Version v1.2

Scientific response to food security in public health: a global longitudinal secondary-data study of governance and population-level indicators

  • 1. ROR icon Universidad Nacional de Colombia
  • 2. Center for Scientific Consulting & Meta-Research in Biomedical Sciences (CECIMIB SAS)

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 the data/step_* files (update the read_excel() paths at the top to point to data/).

Quick start (R)

  1. Open R in the repository root.
  2. Install packages (if needed): readxl, dplyr, tidyr, ggplot2, scales, gridExtra, grid, plus modeling packages used in the pipeline (MASS, sandwich, lmtest, lme4, glmmTMB).
  3. Reproduce figures:
    • Edit the three read_excel() lines at the top of src/Plots.R to use data/step_*.xlsx.
    • Run: source("src/Plots.R")

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

Files (494.1 kB)

Name Size
md5:0cf84b7c47b448fee4edd63bcfc92a49
66 Bytes Download
md5:e00dc0f325f65f1c86d34f57a06f752a
491.4 kB Preview Download
md5:763209c2e555f96cef04c9df173808a6
1.1 kB Download
md5:cc9eeec3a98213212f11fc6354c1fe20
1.5 kB Preview Download

Additional details