Download, Clean, Classify, Enrich and Export Biodiversity Occurrence Data
Overview
Downloads, imports, cleans, classifies, enriches and exports biodiversity occurrence data, with an emphasis on reproducible Global Biodiversity Information Facility (GBIF) https://api.gbif.org/v1/ workflows. The package supports batch occurrence downloads, taxonomic standardisation, coordinate cleaning, optional spatial thinning, spatial attribution and structured export of processed occurrence records and audit outputs. Terrestrial and freshwater workflows can join records to administrative units, protected areas, freshwater ecoregions, basins, rivers, lakes, reservoirs, wetlands and other contextual spatial overlays. Marine workflows support offshore and coastal records through joins to Marine Regions https://www.marineregions.org/ style layers, Exclusive Economic Zone (EEZ) units, marine ecoregions, Large Marine Ecosystems and user-supplied marine overlays. The package also supports native-range and invasive-status evidence workflows using the World Register of Marine Species (WoRMS) https://www.marinespecies.org/, evidence derived from Standardising and Integrating Alien Species (SInAS) https://zenodo.org/records/21933976, and Global Register of Introduced and Invasive Species (GRIIS) https://griis.org/ style species-country records. These tools are intended for biodiversity, macroecological and invasion-biology analyses where occurrence records need to be processed consistently, transparently and reproducibly.
Bug fixes
- Standardised failure handling for explicitly requested terrestrial and freshwater vector overlays. TEOW, FEOW, HydroLAKES, HydroRIVERS, HydroBASINS, Natural Earth urban and administrative layers, RESOLVE ecoregions, WDPA and Ramsar resources now use the pipeline's common auditable overlay-loading pathway.
- When
strict_overlay_loading = TRUE, failures while loading, validating or preparing these requested overlays are recorded ingbif_summary.csvand stop the pipeline before avoidable GBIF download submission. - Existing fail-soft behaviour is retained when
strict_overlay_loading = FALSE: overlay failures are recorded explicitly while downstream processing may continue where possible.
Show all changes in 0.1.2Hide the rest of the changes in 0.1.2
- Added regression tests covering strict and fail-soft overlay-loading behaviour, including verification that strict failures occur before the GBIF downloader is reached.
- Updated the package-managed Standardising and Integrating Alien Species (SInAS) default from dataset 3.1.1 to dataset 3.2 (Zenodo record 21933976; DOI 10.5281/zenodo.21933976), while retaining SInAS 3.1.1 as an explicitly selectable legacy release.
- Updated SInAS resource resolution and native-origin workflows for the 3.2 file layout, including
SInAS_3.2.csv,All_Config_Files_v3.2.zipandAll_Output_Files_v3.2.zip. - Fixed command-line curl downloads on Windows when cache or destination paths contain spaces or standalone hyphens, and corrected success detection when
system2()captures curl output in quiet mode.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-22
Documentation
- Help pages
- 86 (1 internal)includes a package overview page
- Examples that run
- 39%20 run in a plain check (3 of them under a condition) · 31 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 60%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2026-07-21
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("biofetchR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.