Published February 17, 2026 | Version v1.0.0
Software Open

Is global food security research aligned with changes in diet cost and affordability? A longitudinal ecological analysis from 2000 to 2024

  • 1. Center for Meta-Research and Scientometrics in Biomedical Sciences, Barranquilla, Colombia
  • 2. Facultad de Ciencias para la Salud, Universidad de Manizales, Manizales, Colombia
  • 3. Biomedical Scientometrics and Evidence-Based Research Unit, Department of Health Sciences, Universidad de la Costa, Barranquilla 080002, Colombia
  • 4. Universidad Científica del Sur, Lima, Peru

Description

diet-c-and-a-food-security-income

Code and data to reproduce the income-group analyses for the manuscript.

What this repo contains

  • data/
    • step_1_income_diet_c_and_a.xlsx — Step 1 (stratified bivariate models by income group)
    • step_2_income_diet_c_and_a.xlsx — Step 2 (hierarchical/mixed-effects panel models)
    • step_3_income_diet_c_and_a.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).
  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

Davidtdep/diet-c-and-a-food-security-income-v1.0.0.zip

Files (234.5 kB)

Additional details