Code and data used in the paper The socioeconomic and environmental niche of protected areas reveals global conservation gaps and opportunities (Mouillot et al. 2024) published in Nature Communications.
This repository is structured as follow:
- 📁
data/
: contains all data required to run PCA/ENFA and reproduce figures; - 📁
R/
: contains R functions developed for this project; - 📁
man/
: contains R functions documentation; - 📁
analyses/
: contains R scripts to setup project, run analyses, and make figures. - 📁
figures/
: contains figures of the paper
- All required packages will be installed (if necessary) and loaded.
- Figures will be stored in
figures/
Clone the repository and run this command in R/RStudio:
source("_make.R")
Cheers!