checknames {spidR} | R 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 (2021). If not, it returns a matrix with valid synonym 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 (2021). World Spider Catalog. Version 22.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)
[Package spidR version 1.0.2 Index]