Software Open Access

giovannistrona/oil-palm-primates: code for: Small room for compromise between oil palm cultivation and primate conservation in Africa

Giovanni Strona; Ghislain Vieilledent

This repository includes the Python and R code associated to the following paper:

Strona G., S. D. Stringer, G. Vieilledent, Z. Szantoi, J. Garcia-Ulloa, S. Wich. Small room for compromise between oil palm cultivation and primate conservation in Africa.


The code permits the full replication of all the analyses in the paper, as well as the reproduction of all figures (including the supplementary one). Analyses and map plotting are performed by the Python script, while the R code in make_plots.R permits the reproduction of the other graphs. Note that the R code is called by the Python script, so the execution of the latter is enough for complete analysis replication.

Input data

All the raw input files necessary to run the analyses can be downloaded from Zenodo [DOI: 10.5281/zenodo.1200255].

It is important that all the input files (which are provided in a single compressed zipped archive named are left in their relative position within their folder once this one is unzipped, and that both and make_plots.R are copied in that same folder. At that point, running (from within the folder) the will perform all the analyses and generate all the output files.

Output data

All the expected output can be downloaded from Zenodo [DOI: 10.5281/zenodo.1200265].

Versioning and archiving on Zenodo

The development version of this repository is available on GitHub at All versions of this repository, including the last release, are archived on Zenodo: [DOI: 10.5281/zenodo.1200339].

Files (351.0 kB)
Name Size
351.0 kB Download
All versions This version
Views 9489
Downloads 1212
Data volume 4.2 MB4.2 MB
Unique views 8883
Unique downloads 1212


Cite as