Skip to content

IMERSS/detecting-local-extinction

Repository files navigation

Detecting Local Extinction

This repository contains code and data supporting the paper Detecting extirpation: a localised approach to a global problem and its supplementary materials, accepted for publication by Plants, People, Planet.

Documentation for the algorithms can be browsed in the GitHub Pages site for this repository.

Introduction

Prerequisites

To run the analyses you will need a reasonably recent version of the R programming system - versions 4.3 and later have been tested.

If running these analyses from the Dryad repository, this dataset is self-contained; you will be able to run the synthesis and analysis pipeline immediately.

If running these analyses from a GitHub checkout, some bulky analysis inputs need to be sourced from the project's Google Drive Analysis folder - please contact the paper's authors for access.

Main entry points

The main entry points to the data synthesis and analysis pipelines are the two scripts scripts/synthesizeSearchEffort.R and scripts/Analyse.R.

These rely on common configuration held in the script scripts/config.R which sets up core parameters such as the grid scale, grid bounds and taxa of interest.

Synthesizing analysis inputs

Running scripts/synthesizeSearchEffort.R makes use of the following raw materials:

Supplementary input files:

Principal outputs:

Supplementary outputs:

Running the analysis

Running the main analysis routine scripts/Analyse.R produces the table of extirpation probabilities Analysis_outputs/extirpation_statistics.csv.

It makes use of the following raw materials:

Principal output:

Additional output:

Other functions dump various other figures, tables and statistics referred to in the paper and supplementary materials, as described in the Analysis_outputs/provenance.txt file accompanying the outputs.

Figures 1 and 2 of the article were finalized in QGIS and Photoshop using the spatial outputs available in this repository.

About

Code and data supporting the paper "Detecting extirpation: a localised approach to a global problem"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •