View source: R/finbif_check_taxa.R
finbif_check_taxa | R Documentation |
Check that taxa are in the FinBIF database.
finbif_check_taxa(taxa, cache = getOption("finbif_use_cache"))
taxa |
Character (or list of named character) vector(s). If a list each vector can have the name of a taxonomic rank (genus, species, etc.,). The elements of the vectors should be the taxa to check. |
cache |
Logical or Integer. If |
An object of class finbif_taxa
. A list with the same form as
taxa
.
## Not run:
# Check a scientific name
finbif_check_taxa("Cygnus cygnus")
# Check a common name
finbif_check_taxa("Whooper swan")
# Check a genus
finbif_check_taxa("Cygnus")
# Check a list of taxa
finbif_check_taxa(
list(
species = c("Cygnus cygnus", "Ursus arctos"),
genus = "Betula"
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.