validate_species_names: Validate Species Names Using GBIF API

View source: R/validate_species_names.R

validate_species_namesR Documentation

Validate Species Names Using GBIF API

Description

Checks species names against the GBIF taxonomic backbone. If an exact match is found, the accepted name (or canonical name) is used. If no exact match is found, the original name is kept and a warning is issued, indicating that the name may be outdated or misspelled.

Usage

validate_species_names(comm, verbose = TRUE, delay = 0.5)

Arguments

comm

A community matrix (rows = sites, columns = species).

verbose

Logical; if TRUE, displays progress messages.

delay

Numeric; seconds to wait between API calls (default 0.5).

Value

A community matrix with updated column names (accepted names when available).

Examples

## Not run: 
data(ant_community)
comm_validated <- validate_species_names(ant_community, verbose = TRUE)

## End(Not run)

AntClassify documentation built on Sept. 4, 2026, 1:06 a.m.