checknames: Check taxa names in WSC.

View source: R/arakno.R

checknamesR Documentation

Check taxa names in WSC.

Description

Check taxa names against the World Spider Catalogue.

Usage

checknames(tax, full = FALSE, order = FALSE)

Arguments

tax

A taxon name or vector with taxa names.

full

returns the full list of names.

order

Order taxa alphabetically or keep as in tax.

Details

This function will check if all species, genera and family names in tax are updated according to the World Spider Catalogue (2022). If not, it returns a matrix with nomenclature changes, valid synonyms or possible misspellings using fuzzy matching (Levenshtein edit distance).

Value

If any mismatches, a matrix with taxa not found in WSC or, if full = TRUE, the full list of names.

References

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

Examples

## Not run: 
tax = c("Nemesis", "Nemesia brauni", "Iberesia machadoi", "Nemesia bacelari")
checknames(tax)
checknames(tax, full = TRUE, order = TRUE)

## End(Not run)

arakno documentation built on Aug. 24, 2022, 1:05 a.m.

Related to checknames in arakno...