Data · dataset · 2026
Code and Data for "Thermal baselines and climate-space geometry mediate systematic terrestrial biodiversity responses to warming"
Listed in ZivaHub and Deakin Research Online and DMU Figshare — shown once because both records carry DOI 10.6084/m9.figshare.31450903.v1
<p dir="ltr"># README: Reproducibility Code & Data</p><p><br></p><p dir="ltr">> **Title:** *Thermal baselines and climate-space geometry mediate systematic terrestrial biodiversity responses to warming*</p><p dir="ltr">> **Date:** March 2026</p><p><br></p><p>***</p><p><br></p><p dir="ltr">## 1.
Description
Overview</p><p dir="ltr">This repository contains the full analytical pipeline for investigating how **climate-space geometry** (area and isolation) and **thermal baselines** modulate the response of terrestrial biodiversity to warming.
The study utilizes 1,161 assemblage time series from the BioTIME 2.0 database.</p><p><br></p><p>---</p><p><br></p><p dir="ltr">## 2. Directory Structure</p><p><br></p><p dir="ltr">### 📁 `Code/`</p><p dir="ltr">All R scripts are prefixed with numbers to indicate the execution order.</p><p><br></p><p dir="ltr">* **`01_Preprocess and rarefy data.R`**</p><p dir="ltr">Processes raw BioTIME data, including: site screening, spatial gridding (hexagonal cells), sample-based rarefaction, and calculation of community metrics (Richness, Abundance, Evenness).</p><p dir="ltr">* **`02_brmModel.R`**</p><p dir="ltr">Constructs Bayesian hierarchical models using the `brms` package to model diversity slopes against temperature change.</p><p dir="ltr">* **`03_Plotting_Figures.R`**</p><p dir="ltr">A collection of scripts to generate all Main Text and Supplementary Figures.</p><p dir="ltr">* **`FUNCTION calculate metrics.R`**</p><p dir="ltr">A core utility script containing custom functions for community analysis, climatic data matching (CHELSA/CRU TS), and temperature change estimation.</p><p><br></p><p dir="ltr">### 📁 `Data/`</p><p dir="ltr">* **Input:** Raw BioTIME 2.0 records and climatic layers (CHELSA/CRU TS).</p><p dir="ltr">* **Output:** Processed dataframes from Script 01 and fitted `.Rdata` model objects from Script 02.</p><p><br></p><p dir="ltr">### 📁 `Figure/`</p><p dir="ltr">* Output destination for all high-resolution plots generated by Script 03.</p><p><br></p><p>---</p><p><br></p><p dir="ltr">## 3.
Read the rest (4 more)
Data Availability 🌐</p><p><br></p><p dir="ltr">**Biodiversity Data:**</p><p dir="ltr">The raw records used in this study are available from the **BioTIME 2.0 database** at:</p><p dir="ltr">👉 https://doi.org/10.1111/geb.70003</p><p><br></p><p dir="ltr">**Climate Data:**</p><p dir="ltr">* **CHELSA:** https://chelsa-climate.org/</p><p dir="ltr">* **CRU TS:** https://crudata.uea.ac.uk/cru/data/hrg/</p><p><br></p><p dir="ltr">**Analytical Code:**</p><p dir="ltr">All processed datasets and custom R code are archived at **Figshare** (DOI: Pending).</p><p><br></p><p>---</p><p><br></p><p dir="ltr">## 4.
Workflow (How to Reproduce)</p><p><br></p><p dir="ltr">To fully reproduce the findings, run the scripts in the following order:</p><p><br></p><p dir="ltr">1. **Step 1:** Run `01_Preprocess and rarefy data.R`. It automatically sources `FUNCTION calculate metrics.R`.</p><p dir="ltr">2. **Step 2:** Run `02_brmModel.R`. (
Note
Fitting Bayesian models is computationally intensive; pre-fitted objects are provided in `/Data`).</p><p dir="ltr">3. **Step 3:** Run the `03_...` series to output all figures directly to the `/Figure` folder.</p><p><br></p><p>---</p><p><br></p><p dir="ltr">## 5. Software Requirements 🛠️</p><p><br></p><p dir="ltr">The analysis was performed in **R (version 4.2.2)**. The following libraries are required:</p><p><br></p><p dir="ltr">```r</p><p dir="ltr"># Data Manipulation & Stats</p><p dir="ltr">library(tidyverse) # dplyr, ggplot2, tidyr</p><p dir="ltr">library(data.table) # Fast data loading</p><p dir="ltr">library(brms) # Bayesian modeling</p><p dir="ltr">library(vegan) # Ecological metrics</p><p><br></p><p dir="ltr"># Spatial & Visualization</p><p dir="ltr">library(dggridR) # Hexagonal gridding</p><p dir="ltr">library(wesanderson) # Color palettes</p><p dir="ltr">library(patchwork) # Multi-panel plots</p><p dir="ltr">library(ggdist) # Visualizing distributions</p>
Links
Where it is published
- DOI doi.org/10.6084/m9.figshare.31450903.v1 ↗
DOI / persistent id · from zivahub uct ac za
Catalogue records · 1
- OAI-PMH record api.figshare.com/v2/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Af… ↗
metadata API · from zivahub uct ac za
Topics
Provenance · 3 source records, 19 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| ZivaHub | oai:figshare.com:article/31450903 | 6 d ago | JSON v1 |
| Deakin Research Online | oai:figshare.com:article/31450903 | 6 d ago | JSON v1 |
| DMU Figshare | oai:figshare.com:article/31450903 | 6 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| access_level | source · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | |
| concepts[field].anzsrc:field:310308 | mapping · dro deakin edu au | vocabulary-mapper@1.0.0 | keywords['Terrestrial ecology'] |
| concepts[field].anzsrc:field:310308 | mapping · zivahub uct ac za | vocabulary-mapper@1.0.0 | keywords['Terrestrial ecology'] |
| concepts[field].anzsrc:field:310308 | mapping · figshare dmu ac uk | vocabulary-mapper@1.0.0 | keywords['Terrestrial ecology'] |
| concepts[field].local:field:earth-environmental | mapping · dro deakin edu au | connector:dro_deakin_edu_au@1.0.0 | |
| concepts[field].local:field:earth-environmental | mapping · figshare dmu ac uk | connector:figshare_dmu_ac_uk@1.0.0 | |
| concepts[field].local:field:earth-environmental | mapping · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | |
| concepts[field].local:field:life-sciences | mapping · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | |
| concepts[field].local:field:life-sciences | mapping · figshare dmu ac uk | connector:figshare_dmu_ac_uk@1.0.0 | |
| concepts[field].local:field:life-sciences | mapping · dro deakin edu au | connector:dro_deakin_edu_au@1.0.0 | |
| concepts[modality].local:modality:tabular | enrichment · zivahub uct ac za | keyword-concept-rules@1.0.0 | title+description (65%) |
| concepts[modality].local:modality:text | enrichment · zivahub uct ac za | keyword-concept-rules@1.0.0 | title+description (75%) |
| concepts[subject].local:topic:climate | mapping · zivahub uct ac za | vocabulary-mapper@1.0.0 | keywords['Climate change'] |
| concepts[subject].local:topic:climate | mapping · dro deakin edu au | vocabulary-mapper@1.0.0 | keywords['Climate change'] |
| concepts[subject].local:topic:climate | mapping · figshare dmu ac uk | vocabulary-mapper@1.0.0 | keywords['Climate change'] |
| description | source · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | /metadata/dc/description |
| license | source · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | /metadata/dc/rights |
| publication_date | source · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | |
| title | source · zivahub uct ac za | connector:zivahub_uct_ac_za@1.0.0 | /metadata/dc/title |