Description Usage Arguments Value Examples
View source: R/functions_for_searching.R
search_gnr()
is a wrapper for taxize::gnr_resolve()
that parses its
output and returns a neat dataframe of taxonomic information, with every rank in a
separate column. The ICN ranks (kingdom, phylum, class, order, family, genus) are
ordered so that they can be accessed with kingdom:genus
. All other ranks
(super-, sub-, infra- versions of ICN ranks, plus tribe) are ordered to the right.
Finally, the raw path
and ranks
strings are retained so that you can
double-check them if you want.
1 2 3 | search_gnr(species_list,
excluded_sources = c("Open Tree of Life Reference Taxonomy",
"The Paleobiology Database", "Union 4", "Wikispecies"))
|
species_list |
(Char) A vector of taxa names. |
excluded_sources |
(Char) A vector of sources to exclude (see
|
A dataframe of taxonomic information, with every rank in a separate column.
1 2 | my_species <- c("Coptodactyla meridionalis", "Torymus chrysochlorus", "Anaspis rufa")
search_gnr(my_species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.