<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type="text/xsl" href="/static/oaitohtml.xsl"?>

<!--
<?xml-stylesheet type="text/xsl" href="/oaitohtml.xsl"?>
-->

<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <responseDate>2026-10-15T00:03:18Z</responseDate>
    <request verb="GetRecord" metadataPrefix="oai_dc" identifier="10.57760/sciencedb.43498" >https://www.scidb.cn/oai</request>
<GetRecord>
    <record>
    <header >
    <identifier>10.57760/sciencedb.43498</identifier>
    <datestamp>2026-07-24T17:41:00Z</datestamp>
</header>
    <metadata>
        
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:date>2026-07-24</dc:date>
  <dc:title>Raw data and analysis data for article &amp;quot;Digital herbaria reveal global reorganization of herbivory&amp;quot;</dc:title>
  <dc:identifier>doi:10.57760/sciencedb.43498</dc:identifier>
  <dc:language>en</dc:language>
  <dc:description>This dataset contains herbivory rate data, climate variables, statistical analysis code, and intermediate results for a global analysis of leaf herbivory patterns. The study examines how herbivory rates vary across latitudes, climate gradients, extreme weather events, ENSO cycles, temporal trends, and protection status using phylogenetic generalized linear mixed models (PGLMMs).| File | Description || `erosion_climate.xlsx` | Main dataset containing 49,827 herbivory records from 535 plant species across 10 families, spanning 1951&amp;ndash;2024. Includes herbivory rates, geographic coordinates, collection dates, taxonomic information, and 19 WorldClim bioclimatic variables (bio1&amp;ndash;bio19) matched at each sampling location. || `oni.csv` | Oceanic Ni&amp;ntilde;o Index (ONI) from NOAA, organized by year and 3-month periods (DJF, JFM, ..., NDJ), used for ENSO classification and lag analysis. || `leaf_habit.csv` | Leaf habit classification (evergreen/deciduous) for 559 species, sourced from TRY, BIEN, and GIFT databases with genus-level inference for unmatched species. |## Analysis Code| File | Description || `run_latitude.R` | Latitudinal gradient analysis using Bayesian PGLMM with species random effects. || `run_climate_bic.R` | Exhaustive BIC search for optimal climate variable selection from 19 WorldClim variables. || `run_extreme.R` | Extreme weather effects analysis (hot, cold, wet, dry days) on herbivory rates. || `run_enso_sem.R` | ENSO structural equation model (SEM) with PCA-based climate mediation and multi-lag sensitivity analysis. || `run_temporal.R` | Historical temporal trend analysis of global herbivory rates (1951&amp;ndash;2024). || `run_protection.R` | Protected vs. non-protected area comparison with spatial grid random effects. || `run_hemisphere.R` | Separate latitudinal gradient models for Northern and Southern hemispheres. || `run_leaf_habit.R` | Latitude &amp;times; leaf habit (evergreen/deciduous) interaction analysis. || `run_enso_gam.R` | ENSO&amp;ndash;herbivory GAM analysis with AR1 autocorrelation correction. || `query_leaf_habit.R` | Script to query TRY/BIEN/GIFT databases for leaf habit data. |## Intermediate ResultsThe `results/` directory contains CSV files with model outputs including conditional effects, model coefficients, BIC comparisons, and effect decompositions for each analysis. Three brms model objects (RDS format, ~140 MB each) from the ENSO SEM analysis are included for figure reproduction.## Requirements- R &amp;ge; 4.5- Key packages: brms (&amp;ge;2.23), cmdstanr (&amp;ge;0.9), mgcv, lme4, ape, V.PhyloMaker2, factoextra, ggplot2, patchwork- CmdStan backend for brms- Users should configure `set_cmdstan_path()` and `Sys.setenv(PROJ_LIB=...)` according to their system before running scripts## Notes- All models include phylogenetic random effects `(1|gr(phylo, cov=A))` constructed via V.PhyloMaker2 (S3 scenario) and species random effects `(1|acceptedScientificName)`.- Phylogenetic trees contain 572 tips after pruning to match the herbivory data.- The protection status analysis additionally includes a 1&amp;deg;&amp;times;1&amp;deg; spatial grid random effect.- Figure generation scripts are in `figure_code/` and read from `results/` for intermediate data.</dc:description>
  <dc:subject>Herbivory; Global change; ENSO</dc:subject>
  <dc:creator>苏祺伦</dc:creator>
  <dc:rights>EMBARGO</dc:rights>
  <dc:rights>https://creativecommons.org/licenses/by-nc-sa/4.0/</dc:rights>
  <dc:type>dataset</dc:type>
  <dc:publisher>Science Data Bank</dc:publisher>
</oai_dc:dc>

    </metadata>
</record>
</GetRecord>
</OAI-PMH>