Skip to contents

Replaces taxon IDs with their accepted names based on synonym resolution. Based on the logic from merge_individuals_taxa.

Usage

resolve_taxon_synonyms(idtax = NULL, include_synonyms = TRUE, con_taxa = NULL)

Arguments

idtax

Vector of taxon IDs (can be synonyms)

include_synonyms

If TRUE, also returns traits for all synonyms

con_taxa

Connection to taxa database

Value

Tibble with columns: idtax, idtax_good