DOI: 10.5281/zenodo.7038992
title: Code and data: Temporal variability declines with increasing trophic levels and spatial scales in freshwater ecosystems

description: Code and data to reproduce the results in Siqueira et al. (submitted) published as a Preprint (https://ecoevorxiv.org/mpf5x) The full set of results, including those made available as supplementary material, can be reproduced by running five scripts in the <strong>R_codes</strong> folder following this sequence: 00_Renv_help_reproduc.R 01_Dataprep_stability_metrics.R 02_SEM_analyses.R 03_Stab_figs.R 04_Stab_supp_m.R 05_Sensit_analysis.R and using the data available in the <strong>Input_data</strong> folder. This is a collaborative effort and not all authors are allowed to share their raw data. For example, one data set (LEPAS) was not made available due to data sharing policies of The Ohio Division of Wildlife (ODOW). The orginal raw data include the abundance (individual counts, biomass, coverage area) of a given taxon, at a given site, in a given year. See details here https://ecoevorxiv.org/mpf5x Thus, here, instead of starting the analyses with raw data, we start with data that has been generated with the code: 01_Dataprep_stability_metrics.R These data include variability and synchrony components estimated using the methods described in Wang et al. (2019 Ecography; doi/10.1111/ecog.04290), diversity metrics (alpha and gamma diversity), and some variables describing the data. <strong>Reproducibility</strong> To improve reproducibility, I’m using the R package renv to register the versions of the R packages I use and to manage a local library that doesn’t affect the rest of my system. renv::init() is used to prepare a lockfile that records the exact versions of R packages I used in this project. Anyone who wants to reproduce the results described in the preprint can just download the whole R project (that includes code and data) and run codes from 00 to 05. I am making the whole R project folder (with everything needed to reproduce the results) available as a compressed file: Stab_R_project_full.zip
description: Acknowledgments. T.S. was supported by grants #19/04033-7 and #21/00619-7, São Paulo Research Foundation (FAPESP), and by grant #309496/2021-7, Brazilian National Council for Scientific and Technological Development (CNPq). Participation by CPH was supported, in part, by US National Science Foundation grant IOS-1754838. CPH thanks the PacFish/InFish Biological Opinion Monitoring Program (administered by the US Forest Service) for use of their long-term macroinvertebrate monitoring data. JDT is supported by a Rutherford Discovery Fellowship administered by the Royal Society Te Apārangi (RDF-18-UOC-007), and Bioprotection Aotearoa and Te Pūnaha Matatini, both Centres of Research Excellence funded by the Tertiary Education Commission, New Zealand. VS was supported by a FAPESP grant #2019/06291-3 during the writing of this manuscript. The FEHM (Freshwater Ecology, Hydrology and Management) research group is funded by the "Agència de Gestió d'Ajuts Universitaris i de Recerca" (AGAUR) at the "Generalitat de Catalunya" (2017SGR1643). CCB thanks PELD-PIAP/CNPq for support. M.C. was supported by a Ramón y Cajal Fellowship (RYC2020-029829-I) and the Serra Hunter programme (Generalitat de Catalunya). GAG was supported by #DEB-2025982, NTL LTER. PH received financial support from the eLTER PLUS project (Grant Agreement #871128). JMH was supported by the Federal Aid in Sport Fish Restoration Program (F-69-P, Fish Management in Ohio), administered jointly by the United States Fish and Wildlife Service and the Division of Wildlife, Ohio Department of Natural Resources (projects FADR65, FADX09, and FADB02). KLH and RP thank the Oulanka Research Station. MBF thanks over 300 students, staff, and faculty that have participated in the Kentucky Lake Long-Term Monitoring Program at Hancock Biological Station, Murray State University, Murray, KY. MJJ thanks the Northumberland Wildlife Trust for site access. IISD-ELA zooplankton samples were counted and identified primarily by Willy Findlay and Alex Salki. Field collections within IISD-ELA were overseen by Mark Lyng and Ken Sandilands. Funding for most of the IISD-ELA data was provided by Fisheries and Oceans Canada. PP and MS were supported by the Czech Science Foundation (P505-20-17305S). LCR is grateful to the Núcleo de Pesquisas em Limnologia, Ictiologia e Aquicultura (Nupélia) at Universidade Estadual de Maringá for logistic support; CNPq/ PELD for financial support and CNPq for a scholarship. AR was supported by NSF CAREER #2047324 and by UC Berkeley new faculty funds. We thank countless colleagues at all partner institutes for their help with collecting the time series data.