The suwo package aims to simplify the retrieval of nature media (mostly photos, audio files and videos) across multiple online biodiversity databases. The five major media repositories accessed by this package (GBIF, iNaturalist, Macaulay Library, WikiAves, and Xeno-Canto) collectively host more than 250 million media files. Such media are increasingly used in diverse fields, ranging from ecology and evolutionary biology (e.g., trait evolution) to wildlife monitoring and conservation (e.g., for training species detection models). The ability to access and download large amounts of media files and their associated metadata from a single interface thus provides a uniquely powerful resource for facilitating research and conservation efforts.
The main features of the package are:
- Obtaining media metadata from online repositories
- Downloading associated media files
- Updating data sets with new records
Install the package from CRAN:
# install from CRAN
install.packages("suwo")
# load package
library(suwo)Alternatively, the package can also be installed from R universe as follows:
# From R universe would be
install.packages('suwo', repos = c('https://marce10.r-universe.dev'))
# load package
library(suwo)To install the latest developmental version from github you will need the R package remotes:
# install remotes if you don't have it yet
remotes::install_github("maRce10/suwo")
#load package
library(suwo)Obtaining nature media using suwo follows a basic sequence. The following diagram illustrates this workflow and the main functions involved:
Take a look at the package vignette for an overview of the workflow and the core querying functions.
The suwo package is designed exclusively for non-commercial, scientific purposes, including research, education, and conservation. Commercial use of data or media retrieved through this package is the user’s responsibility and is allowed only when the applicable license of the source database explicitly permits such use, or when explicit, separate permission has been obtained directly from the original source platforms or rights holders Users must comply with the specific terms of service and data-use policies of each source database, which may require attribution and may further restrict commercial application. The package developers assume no liability for misuse of the retrieved data or for violations of third-party terms of service.
Please cite suwo as follows:
Araya-Salas, M., J. Elizondo-Calvo & A. Rico-Guevara. 2025. suwo: access nature media repositories. R package version 0.1.0.
