Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.09.26.678697

The camtrapR R package: From data management to interactive ecological analysis of camera trap data

Abstract

O_LICamera trapping has become an indispensable tool in wildlife ecology, generating vast datasets that require efficient and robust analytical workflows. The R package camtrapR was originally developed for preparing and managing camera trap data for subsequent analysis in external modeling packages like unmarked. It has since become a standard tool in the field for this purpose. C_LIO_LIHere, we introduce a major update that transforms camtrapR from a data preparation tool into a comprehensive, end-to-end analytical platform. The centerpiece of this evolution is the surveyDashboard(), a novel code-free graphical user interface that guides users through the entire analysis pipeline, from data import to final predictions. This update also incorporates enhanced data import functionalities for major standards like Wildlife Insights and Camtrap DP, a complete workflow for fitting community occupancy models, and streamlined tools for environmental covariate extraction. C_LIO_LIThe interactive dashboard provides an integrated environment for the entire analytical process. Users can perform essential exploratory analyses, such as generating species accumulation curves and mapping species detections, before proceeding to model fitting. The interface supports the interactive construction of both single-species and multi-species (community) occupancy models. The dashboards covariate preparation tools generate inputs for both model fitting and for creating spatial predictions of species occupancy. C_LIO_LIFurthermore, the update introduces a comprehensive workflow for fitting Bayesian community occupancy models using JAGS or NIMBLE. This allows for hierarchical modeling of species- and community-level responses to environmental drivers, providing deeper insights into wildlife communities. The workflow includes tools for model assessment, such as convergence diagnostics and posterior predictive checks for goodness-of-fit. C_LIO_LIBy integrating a powerful, code-free interface with advanced backend modeling functions, this major update to camtrapR aims to make robust and reproducible camera trap data analysis accessible to a wider audience, including ecologists, wildlife managers, and students. This paper serves as the new definitive reference for the expanded functionality of camtrapR as a comprehensive tool for modern camera trap studies. C_LI

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Niedballa, J., Sollmann, R., Wilting, A.. 2025-09-29. The camtrapR R package: From data management to interactive ecological analysis of camera trap data. https://doi.org/10.1101/2025.09.26.678697

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Wildfires drive trade-offs in ammonia-oxidizing groups and promote denitrification to increase soil emissions of nitric oxide (NO) and nitrous oxide (N2O) in California chaparral

Wildfires can promote trade-offs in soil nitrifier and denitrifier communities that affect post-fire nitrogen (N) cycling and emissions of nitric oxide (NO), nitrous oxide (N2O), and dinitrogen (N2). For example, by increasing soil pH and ammonium (NH4+), wildfires could increase the abundance of ammonia-oxidizing bacteria (AOB) over archaea (AOA). Because AOB and AOA process N differently, nitrifier trade-offs may affect N emissions and nitrate (NO3-) supply with downstream effects on denitrifier activity, leading us to ask: Do trade-offs between AOA and AOB abundance and shifts in denitrifying processes influence N emissions over time after wildfire? We selectively inhibited AOA and AOB communities from soil collected over four seasonal time points one year before and after a chaparral wildfire and used stable isotopes to parse denitrifier contributions to N2O emissions. Over one year after the wildfire, soil pH increased from 6.1 to 7.0, soil extractable NH4+ increased 30-fold, NO3- increased 5-fold, and NO2- increased 9-fold. AOB amoA gene copy numbers increased 20-fold one year after fire, while AOA abundance remained unchanged. Post-fire soil NO emissions increased 63-fold over one year, with varied contributions from all nitrifier groups. Soil N2O emissions peaked eight months after fire (2271 {+/-} 634 ng N2O-N g-1 soil), with increased contributions from AOA. Wildfire increased {delta}15NSPN2O and {delta}15NbulkN2O values, suggesting increased N2O reduction to N2. Overall, wildfire increased AOB abundance relative to AOA, promoting nitrification activity and providing intermediates to denitrifiers to increase emissions of NO and N2O for up to one year after fire.

ecology↗

Global urban forest cover and nature access is insufficient for human wellbeing and worsening

Target 12 of the Global Biodiversity Framework urges governments to enhance human access to nature to improve human wellbeing. Here, we study nature access using several metrics for a globally representative sample of 140 large Functional Urban Areas, examining variation among regions and over time. We find most urbanites globally do not reach common benchmarks for urban forest cover and nature access. Globally, 3.3 billion people (76% of urbanites) live in urban areas that do not have at least 30% tree canopy cover. Moreover, 1.1 billion people (23% of urbanites) are farther than 1 km from a park as identified in Open Street Map, and 1.5 billion people (36% of all urbanites) are more than 1 km from a green patch as defined by land cover. Over time, urban nature access has declined. Between 1992 and 2020, most urban residents had an increase in the distance to green patches (63% of urbanites increased, average increase 680 m). Similarly, between 1992 and 2020, 31% of urbanites had a decrease in percent natural cover, while only 1.3% had an increase. We show that the variation among cities or regions in the amount of nature access depends on the metric used and the context. On average, mesic climates have more tree cover than do arid climates, and cities with lower GDP or higher population density tend to have lower natural share than other cities. Our results suggest that global urban nature access is insufficient for supporting human health and worsening over time.

ecology↗

Exploring soil microbes' potential to assess Atlantic Forest restoration trajectories

Soil microbe communities are key indicators of ecosystem recovery, yet their integration into operational restoration monitoring remains limited. We evaluated the potential for benchmarking early Atlantic Forest restoration with reference site-based comparisons using bacteria and fungi. Samples were collected from three geographic clusters and spanned a pasture-restoration-forest land-use gradient. Using metabarcoding, we assessed whether soil microbe community diversity, structure, and functional profiles respond to restoration progress considering influences from spatial arrangement and/or successional stage (determined using NDVI). We found that OTU alpha diversity was not explained by either predictor, whereas the Shannon diversity of bacterial functions declined significantly with increasing NDVI. Bacterial and fungal OTU composition (Bray-Curtis) responded significantly to both NDVI and geographic cluster, as did microbe functional profiles, although only NDVI proved both marginally and conditionally significant. We also found that soil chemical parameters were primarily structured by geographic cluster but not by NDVI, suggesting that many abiotic edaphic conditions reflect soil history rather than current vegetation status. These findings suggest that both microbe taxonomic and functional metrics track revegetation progress and validate eDNA as a scalable, sensitive restoration monitoring framework. Importantly, our results also support the use of reference site-based monitoring for Atlantic Forest restoration.

ecology↗