R code and data for ethnobotanical analysis of the Great Green Wall, Mali
# GGW — Ethnobotany and Livelihoods in the Great Green Wall (Mali)
## Overview
This repository contains the R code and input data used for analysis in:
> Ceci, P., Gianella, M., Panero, I., Burton, G. P., Sidibé,
S. I., Sanogo, S., Kelly, B. A., Attorre, F., Ulian, T., 2026.
Linking traditional knowledge and use of wild plant species with household livelihood assets in Mali. *[Journal]*. DOI: [xxx]
The analysis covers:
1. Recoding of the raw survey matrix
2. Participant summary statistics
3. Factor Analysis of Mixed Data (FAMD) for five livelihood capitals
4. Ethnobotanical indices (UR, CI, FC, NU, RFC, RI, UV, CVe, FL, PPV)
5. Composite ethnobotanical knowledge index via Correspondence Analysis (COA)
6. Stepwise and refined linear regression models
---
## Repository structure
```
.
├── GGW_analysis.R # Main analysis script
├── README.md # This file
├── DATA_DICTIONARY.md # Column descriptions for all data files
│
├── data/ # Input data files
│ ├── survey_matrix_raw.csv : raw survey matrix (numeric codes)
│ ├── survey_matrix_recoded.csv : recoded & aggregated survey matrix
│ ├── ethnicity_religion.csv : ethnicity and religion per participant
│ ├── uses.csv : use-category code table
│ ├── plant_parts_code.csv : plant-part code table
│ ├── species_codes.csv : species code table
│ └── conservation_status.csv : conservation-status code table
│
├── FAMD/ # FAMD outputs (created by script)
│ ├── Human/
│ ├── Social/
│ ├── Natural/
│ ├── Physical/
│ └── Financial/
│
└── Ethnobotany/Results/ # Ethnobotanical index and model outputs
```
---
## Anonymisation
Participant IDs in all data files are anonymised codes (e.g. `TINS01`,
`BANK03`). The code prefix identifies the village; the number identifies the
individual within that village. …