finbif_taxa {finbif} | R Documentation |
Search the FinBIF taxa
Description
Search the FinBIF database for taxon.
Usage
finbif_taxa(
name,
n = 1,
type = c("exact", "partial", "likely"),
cache = getOption("finbif_use_cache")
)
common_name(name, locale = getOption("finbif_locale"))
scientific_name(name)
taxon_id(name)
Arguments
name |
Character. The name or ID of a taxon. Or, for functions other
than |
n |
Integer. Maximum number of matches to return. For types "exact" and "likely" only one taxon will be returned. |
type |
Character. Type of match to make. Must be one of |
cache |
Logical or Integer. If |
locale |
Character. One of the supported two-letter ISO 639-1 language
codes. Current supported languages are English, Finnish and Swedish. For
data where more than one language is available the language denoted by
|
Value
For finbif_taxa
a finbif_taxa
object. Otherwise, a character
vector.
Examples
## Not run:
# Search for a taxon
finbif_taxa("Ursus arctos")
# Use partial matching
finbif_taxa("Ursus", n = 10, "partial")
# Get Swedish name of Eurasian Eagle-owl
common_name("Bubo bubo", "sv")
# Get scientific name of "Otter"
scientific_name("Otter")
# Get taxon identifier of "Otter"
taxon_id("Otter")
## End(Not run)