Convert taxon name to taxon code

taxon_to_taxon_code(taxon)

Arguments

taxon

A character vector of taxon names, case insensitive

Value

A character vector of matching taxon codes

Examples


taxon_to_taxon_code(c("Anhyturbels", "foo", "Cryaquands", NA))
#> Anhyturbels         foo  Cryaquands        <NA> 
#>       "ABC"          NA       "DAB"          NA