Skip to contents

Returns a list of ArangoDocuments with all the higher levels of the given taxon x up to the genus level (including the given taxon x). It is expected that all documents in florula.collection point to a genus.

Usage

append_all_parents(x, florula.collection)

Arguments

x

An ArangoDocument corresponding to a taxon in florula.collection.

florula.collection

An ArangoCollection containing a flora list.

Value

A list of ArangoDocuments retrieved from florula.collection.

Details

The flora list in florula.collection must follow a specific structure. Check function insert_taxa for more details.

Author

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