Skip to contents

This function searches for a species ('genus' + 'epithet') in florula.collection.

Usage

search_species_in_collection(genus.name, epithet.name, florula.collection)

Arguments

genus.name

A character with a genus name to search in florula.collection.

epithet.name

A character with a specific epithet to search in florula.collection whithin the genus given in genus.name.

florula.collection

An ArangoCollection containing a flora list.

Value

An ArangoDocument corresponding to the searched species in florula.collection. It returns NULL if nothing is found.

Details

It returns an error if more than one match is found in florula.collection.

Author

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