Code and synthetic data for analysis of relation between species sizes and local abundances trends
bibliographic citation: Terry, J.C.D., O'Sullivan, J.D., Rossberg, A.G. (2024). Code and synthetic data for analysis of relation between species sizes and local abundances trends. NERC EDS Environmental Information Data Centre. https://doi.org/10.5285/1f7687de-d68e-4349-b4d3-b7d3a127a7df
description: This resource contains the R code and core results of a study seeking to identify whether there are global patterns in whether larger or smaller bodied species are showing different population trends within communities. This used the global BioTIME database (including community time series from hundreds of studies of mostly covering the last 20-50 years) and several large trait databases to gain a very large sample size (12,956 assemblage time series from 144 studies, incorporating 2,109,593 observations of 10,286 species, of which 7,234 could be linked to at least one size trait). Data resources in this deposit include matched trait values for each species, several population trends of each species, and community level correlations between population trends and body-size trait values. Additionally, html files describing the R markdown code to produce the data resources are included. This resource does not contain the raw population and trait data, which are openly available from various sources that are listed in the supporting documentation. The matching between global databases required a large amount of initial cleaning and filtering steps. Although the data was subject to a number of checks, with tens of thousands of species, it was too large to check all alignments manually, and trait matches assume a single bodysize value for a species across its range. The original purpose was to generate a relative rank within a community, but caution is needed for more fine-grained analyses using this approach.
provenance: ProvenanceStatement
  label: To generate the assemblage time series, we downloaded all studies available in the ‘open' component of the BioTIME database of community time series from Zenodo. We identified studies as ‘multi-site' or ‘single-site' based on the number of coordinates in the BioTIME database. Single-site studies were considered as one combined assemblage, whilst widely dispersed ‘multi-site' studies were portioned into assemblages based on a global hexagonal grid of 96 km2 cells using the dggridR package in R. We retained records from assemblages with abundance or biomass data of at least 10 distinct species and at least 5 years between the first and last record. We used four separate trait databases that include some measure of organism size, but we did not mix information between databases. For amniotes, an amniote life history database was downloaded. For plants, we used the TRY database. For fish, we downloaded a curated database of fish traits, which in turn is largely based on data from the FishBase database. It is focused on the North Atlantic and Pacific continental shelf, but this represents the majority of the relevant BioTIME studies. For marine species, we downloaded size data from the WoRMS database. Data cleaning was performed in order to match up species names in the trait databases and BioTIME database. We assessed each assemblage–trait combination where ≥40% and ≥5 of the species had data for that trait and >80% of year samples contained at least 5 species. We excluded transitory species within each assemblage by including only those species that were seen in over half of the year samples. Where this filtering left data from less than 1% of the cells in the original study, we removed the whole study. Where a study included both ‘abundance' and ‘biomass' data, we preferentially used the abundance data. Studies with only presence–absence data were not used. To calculate the relative change in abundance of each species, we fitted the square-root transformed and scaled …
contact point: Terry, J.C.D.
publisher: NERC EDS Environmental Information Data Centre
subject: Biodiversity
subject: body size
subject: community ecology
was generated by: https://gtr.ukri.org/projects
type: Software
license: OGL-UK-3.0.ttl
access rights: UNRS
creator: Terry, J.C.D.
creator: O'Sullivan, J.D.
language: en

Terry, J.C.D.
type: Person
family name: Terry
given name: J.C.D.
member: Queen Mary University of London

NERC EDS Environmental Information Data Centre
type: Organization

O'Sullivan, J.D.
type: Person
family name: O'Sullivan
given name: J.D.
member: Queen Mary University of London

Rossberg, A.G.
type: Person
family name: Rossberg
given name: A.G.
member: Queen Mary University of London

Biodiversity
type: Concept

body size
type: Concept

community ecology
type: Concept

Queen Mary University of London
type: Organization