View source: R/resolvescientificnames.R
taxa_common_to_scientific | R Documentation |
Convert common names to scientific names.
taxa_common_to_scientific(taxa, service = "NCBI", multiple = FALSE)
taxa |
A character vector of common names. Binomials can be spaced with underscore or white space. |
service |
Which service to use: NCBI, ITIS, or TROPICOS |
multiple |
If TRUE, then the service will return multiple matches (if available) for each common name in the input list. |
A vector of scientific names. Output order may not correspond to input order.
taxize package for name resolution in general and its sci2comm function.
taxa <- c("blue_whale", "swordfish", "killer whale")
scientific <- taxa_common_to_scientific(taxa)
print(scientific)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.