getTax: Get Taxonomy

Description Usage Arguments Details Value See Also Examples

View source: R/tax.getTax.R

Description

Get the taxonomic classification for a Latin name

Usage

1
2
getTax(sppCorr, class.names = c("species", "genus", "family", "order",
  "class", "superclass", "subphylum", "phylum", "kingdom"))

Arguments

sppCorr

a scientific name; character vector

class.names

the taxonomic classification names to search for and return

Details

Uses taxize. Tries several data bases

Value

A data.table with columns corresponding to the taxonomic level, the original species name, and taxLvl as the most specific (lowest) taxonomic level for which a match was found.

See Also

getCmmn, getTax

Examples

1
2
3
getTax(c(
	"Chionoecetes tanneri"
))

rBatt/trawlData documentation built on May 26, 2019, 7:45 p.m.