Description Usage Arguments Value Examples
View source: R/datacheck_helpers.R
'tax_available_name()' is a function that checks if given records are within specified rank. It requires two inputs 'name' of taxonimal records and 'rank_orig' (taxonimical rank). Output is subset of names that were within given rank.
1 | tax_available_name(name = NULL, rank_orig = "class", db = "gbif")
|
name |
A character vector of taxonomical records (e.g. 'c("Animalia", "Aves")'). |
rank_orig |
A string for taxonimical rank (e.g. 'class') |
db |
A string for reference database (passed to 'tax_available_name') |
A character vector of available names within given rank.
1 2 3 | my_name <- c("Animalia", "Chordata", "Aves", "Mammalia")
my_rank <- "class"
tax_available_name(my_name, my_rank)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.