Constarium
← Search

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

Catalogue records · 1

Topics

Inferred from text
Tabular 65% · Text 75%
Provenance · 3 source records, 19 field assertions
SourceKeyLast seenRaw
ZivaHuboai:figshare.com:article/314509036 d agoJSON v1
Deakin Research Onlineoai:figshare.com:article/314509036 d agoJSON v1
DMU Figshareoai:figshare.com:article/314509036 d agoJSON v1
FieldAssertionExtractorEvidence
access_levelsource · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0
concepts[field].anzsrc:field:310308mapping · dro deakin edu auvocabulary-mapper@1.0.0keywords['Terrestrial ecology']
concepts[field].anzsrc:field:310308mapping · zivahub uct ac zavocabulary-mapper@1.0.0keywords['Terrestrial ecology']
concepts[field].anzsrc:field:310308mapping · figshare dmu ac ukvocabulary-mapper@1.0.0keywords['Terrestrial ecology']
concepts[field].local:field:earth-environmentalmapping · dro deakin edu auconnector:dro_deakin_edu_au@1.0.0
concepts[field].local:field:earth-environmentalmapping · figshare dmu ac ukconnector:figshare_dmu_ac_uk@1.0.0
concepts[field].local:field:earth-environmentalmapping · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0
concepts[field].local:field:life-sciencesmapping · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0
concepts[field].local:field:life-sciencesmapping · figshare dmu ac ukconnector:figshare_dmu_ac_uk@1.0.0
concepts[field].local:field:life-sciencesmapping · dro deakin edu auconnector:dro_deakin_edu_au@1.0.0
concepts[modality].local:modality:tabularenrichment · zivahub uct ac zakeyword-concept-rules@1.0.0title+description (65%)
concepts[modality].local:modality:textenrichment · zivahub uct ac zakeyword-concept-rules@1.0.0title+description (75%)
concepts[subject].local:topic:climatemapping · zivahub uct ac zavocabulary-mapper@1.0.0keywords['Climate change']
concepts[subject].local:topic:climatemapping · dro deakin edu auvocabulary-mapper@1.0.0keywords['Climate change']
concepts[subject].local:topic:climatemapping · figshare dmu ac ukvocabulary-mapper@1.0.0keywords['Climate change']
descriptionsource · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0/metadata/dc/description
licensesource · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0/metadata/dc/rights
publication_datesource · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0
titlesource · zivahub uct ac zaconnector:zivahub_uct_ac_za@1.0.0/metadata/dc/title