Skip to contents

This function searches for a genus.name in florula.collection.

Usage

search_genus_in_collection(genus.name, florula.collection)

Arguments

genus.name

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

florula.collection

An ArangoCollection containing a flora list.

Value

An ArangoDocument corresponding to the searched genus 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.