gbif.range: Species Range Mapping from GBIF Using Ecoregion Constraints

Provides a workflow to retrieve, filter, and analyze 'GBIF' occurrence records and to generate ecologically informed species range maps using downloaded or custom ecoregions. The package includes tools for querying the 'GBIF' backbone taxonomy with get_status(), counting or downloading occurrences with get_gbif_count() and get_gbif(), creating custom ecoregion layers with make_ecoreg(), building range maps with get_range(), and evaluating them against independent validation data with evaluate_range() and cv_range(). A disk-based batch workflow (split_gbif_by_species(), species_csvs_to_ranges(), read_range_rds()) supports large multi-species 'GBIF' exports without loading the full table into memory. Bundled ecoregion layers cover terrestrial (Olson et al. 2001 <doi:10.1641/0006-3568(2001)051[0933:TEOTWA]2.0.CO;2>), marine (Spalding et al. 2007 <doi:10.1641/B570707>), and freshwater (Abell et al. 2008 <doi:10.1641/B580507>) realms. The 'GBIF' API is accessed via the 'rgbif' package, and coordinate cleaning uses 'CoordinateCleaner' (Zizka et al. 2019 <doi:10.1111/2041-210X.13152>). The 'GBIF' API is described at <https://www.gbif.org/developer/summary>.

Version: 1.9.1
Depends: R (≥ 4.0.0)
Imports: terra, rgbif, CoordinateCleaner, sf, ClusterR, FNN, geometry, cluster, mclust, methods, utils, zip, class, NMOF, stats, tools, graphics, grDevices
Suggests: data.table, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-08-07
DOI: 10.32614/CRAN.package.gbif.range (may not be active yet)
Author: Yohann Chauvier ORCID iD [cre, aut], Oskar Hagen ORCID iD [aut], Stefan Pinkert ORCID iD [aut], Camille Albouy ORCID iD [aut], Fabian Fopp ORCID iD [aut], Philipp Brun ORCID iD [aut], Patrice Descombes ORCID iD [aut], Florian Altermatt ORCID iD [aut], Loïc Pellissier ORCID iD [aut], Katalin Csillery ORCID iD [aut]
Maintainer: Yohann Chauvier <yohann.chauvier at wsl.ch>
BugReports: https://github.com/8Ginette8/gbif.range/issues
License: GPL (≥ 3)
URL: https://github.com/8Ginette8/gbif.range, https://8ginette8.github.io/gbif.range/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: gbif.range results

Documentation:

Reference manual: gbif.range.html , gbif.range.pdf
Vignettes: Supplementary: ‘gbif.range's manuscript’s figures (source, R code)
Part 2: Ecoregion-Based Range Inference (source)
Part 1: GBIF Retrieval, Taxonomy, and Filtering (source)
Part 0: Getting Started (source)
Part 3: Large Downloaded GBIF Tables (source)

Downloads:

Package source: gbif.range_1.9.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gbif.range to link to this page.