name_search_gbif: Search plant name against GBIF names backbone

Description Usage Arguments Value Examples

Description

This function uses the rgbif package https://docs.ropensci.org/rgbif/index.html to query a scientific plant name against the GBIF names backbone - see https://www.gbif.org/. It restricts the result to species rank constrained to kingdom = 'Plantae'. This function uses the rgbif::name_backbone_verbose function.

Usage

1

Arguments

name

A scientific plant species name. Better results can be obtained when author is included e.g. Poa annua L.

Value

Returns a data frame with initial search term searchName, GBIF taxon key usageKey, GBIF scientific name scientificName, and a measure of confidence in the match. When there is no match it returns a value of "no_match" under the confidence field.

Examples

1
2
3
4
5
6
7
8
9
# single name search
name_search_gbif("Poa annua L.")

# Or, search multiple names using purrr::map_dfr
names <- c("Poa annua L.", "Welwitschia mirabilis Hook.f.")

if (requireNamespace("purrr", quietly = TRUE)) {
names_out <- purrr::map_dfr(names, name_search_gbif)
}

stevenpbachman/LCRapid documentation built on Jan. 24, 2022, 5:16 a.m.