get_worms_taxa_tree: Function for creating reference databases using API from...

View source: R/get_worms_taxa.R

get_worms_taxa_treeR Documentation

Function for creating reference databases using API from World Register of Marine Species (WORMS)

Description

This function allows creating our custom reference database using API from World Register of Marine Species (WORMS).

Usage

get_worms_taxa_tree(x, ref_from_tree = FALSE)

Arguments

x

Vector contain your Taxa list.

ref_from_tree

Create a reference database in the biomonitoR format. See ref_from_tree.

See Also

as_biomonitor

Examples

## Not run: 

data(macro_ex)
dfref_worms <- get_worms_taxa_tree(macro_ex[, "Taxa"])
data_asb <- as_biomonitor(macro_ex, dfref = dfref_worms$taxonomy)
data_agg <- aggregate_taxa(data_asb)


## End(Not run)

alexology/biomonitoR documentation built on Oct. 10, 2024, 12:02 a.m.