Skip to contents

Checks if a name is in the Euro+Med checklist, reading from http://ww2.bgbm.org/EuroPlusMed/query.asp.

Usage

EUROMED_is_in(search.name, NameId = NULL)

Arguments

search.name

A character with a taxon name.

NameId

A character. Optionally the search can be conducted by Euro+Med NameId.

Value

A character. "YES" when a single name is associated to the given search.name or NameId. "YES, BUT MORE THAN ONE MATCH" when more than one name is found. "NO, BUT CHECK ORTOGRAPHIC VARIANTS AND MISSPELLINGS", when no matches are found.

Details

The function aims at reducing user intervention to the minimum. When multiple names are returned by Euro+Med website, the function uses the relevant.region (also given by the user) to reduce that ambiguity, using the distribution data present in Euro+Med. If relevant.region is not enough to eliminate ambiguity, the function returns a list of possible names.

Author

Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.