get_nbn_taxa_tree: Create 'biomonitoR' reference dataset from the National...

View source: R/get_nbn_taxa.R

get_nbn_taxa_treeR Documentation

Create biomonitoR reference dataset from the National Biodiversity Network (NBN)

Description

Function to create a reference biomonitoR dataset using API from the National Biodiversity Network (NBN).

Usage

get_nbn_taxa_tree(x, ref_from_tree = FALSE)

Arguments

x

Vector contain your Taxa list. This is the base list to create your custom reference database.

ref_from_tree

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

Details

Check carefully the results. In the NBN database, sometimes the subgenus information is embedded in the species name (e.g Genus (Subgenus) species). This can cause problems to other biomonitoR functions.

See Also

as_biomonitor get_gbif_taxa_tree get_iucn_taxa_tree get_worms_taxa_tree

Examples


## Not run: 

data(macro_ex)
dfref_c <- get_gbif_taxa_tree(macro_ex[, "Taxa"])
data_asb <- as_biomonitor(macro_ex, dfref = dfref_nbn$taxonomy)
data_agg <- aggregate_taxa(data_asb)


## End(Not run)

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