taxonomy: Get taxonomy from species.

Description Usage Arguments Details Value References Examples

View source: R/spidR.R

Description

Get species sub/infraorder, family and genus from the World Spider Catalogue.

Usage

1
taxonomy(tax, check = FALSE, aut = FALSE, id = FALSE, order = FALSE)

Arguments

tax

A taxon name or vector with taxa names.

check

species names should be replaced by possible matches in the WSC if outdated.

aut

add species authorities.

id

the lsid should be returned.

order

Order taxa names alphabetically or keep as in tax.

Details

This function will get species sub/infraorder, family and genus from the World Spider Catalogue (2021). Optionally, it will correct the species names (using function checknames) and provide the lsid and authors from the WSC (using functions lsid and authors).

Value

A data.frame with species and taxonomy.

References

World Spider Catalog (2021). World Spider Catalog. Version 22.0. Natural History Museum Bern, online at http://wsc.nmbe.ch. doi: 10.24436/2.

Examples

1
2
3
4
5
## Not run: 
taxonomy("Symphytognathidae", order = TRUE)
taxonomy(c("Nemesia machadoi", "Nemesia bacelari"), check = TRUE, aut = TRUE, id = TRUE)

## End(Not run)

spidR documentation built on Oct. 18, 2021, 9:08 a.m.

Related to taxonomy in spidR...