Skip to contents

Lists the columns available from an enrichment's pre-built .vtr, so you can choose which to attach through the doors that accept a cols argument (such as add_gift() and add_floraweb()). Read offline from the local .vtr; the first call may trigger the one-time download.

Usage

enrichment_cols(source)

Arguments

source

Character. An enrichment name (see list_enrichments()).

Value

A data.frame with one row per column: column (the name) and type ("numeric" or "character").

Examples

# \donttest{
old <- options(taxify.data_dir = taxify_example_data())
enrichment_cols("gift")
options(old)
# }