% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate_species_names.R
\name{validate_species_names}
\alias{validate_species_names}
\title{Validate Species Names Using GBIF API}
\usage{
validate_species_names(comm, verbose = TRUE, delay = 0.5)
}
\arguments{
\item{comm}{A community matrix (rows = sites, columns = species).}

\item{verbose}{Logical; if TRUE, displays progress messages.}

\item{delay}{Numeric; seconds to wait between API calls (default 0.5).}
}
\value{
A community matrix with updated column names (accepted names when available).
}
\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.
}
\examples{
\dontrun{
data(ant_community)
comm_validated <- validate_species_names(ant_community, verbose = TRUE)
}
}
