Skip to content

Latest commit

 

History

History
executable file
·
34 lines (19 loc) · 1011 Bytes

README.md

File metadata and controls

executable file
·
34 lines (19 loc) · 1011 Bytes

pelagic

DOI

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.

General

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

Notes

  • All required packages will be installed (if necessary) and loaded.
  • Figures will be stored in figures/

Usage

Clone the repository and run this command in R/RStudio:

source("_make.R")

Cheers!