to_worms: Convert Taxon Names to Comply with WoRMS

View source: R/utils.R

to_wormsR Documentation

Convert Taxon Names to Comply with WoRMS

Description

Taxon names are standardized according to the World Register of Marine Species (WoRMS) database. The conversion is case-insensitive. For this conversion, the TWN-list (Taxa Water management the Netherlands) is used, extended with species of the Southern North Sea. See references below for download locations.

Usage

to_worms(taxon, worms = NULL)

is_worms(.data = NULL, taxon)

is_worms_(.data, taxon)

is_accepted(.data = NULL, taxon)

is_accepted_(.data, taxon)

Arguments

taxon

character vector, containing taxon names

worms

an optional table usually created with read_twn.

.data

data in a data.frame, tibble, data.table, database etc.

Value

character vector with WoRMS compliant species names

TRUE for WoRMS compliant species names, FALSE otherwise.

TRUE for WoRMS/TWN compliant species names, FALSE otherwise.

Functions

  • is_worms(): check if a taxon complies with WoRMS

  • is_worms_(): as is_worms but suitable for calling from a function (see package lazyeval).

  • is_accepted(): check if a taxon complies with WoRMS/TWN

  • is_accepted_(): as is_accepted but suitable for calling from a function (see package lazyeval).

References

https://www.marinespecies.org/

https://taxainfo.nl/


benthos documentation built on Aug. 22, 2022, 5:07 p.m.