Description Usage Arguments Value Examples
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.
1 |
name |
A scientific plant species name. Better results can be obtained when author is included e.g. Poa annua L. |
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.
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.