get_iucn_taxa_tree: Create biomonitoR reference dataset from GBIF

View source: R/get_iucn_taxa.R

get_iucn_taxa_treeR Documentation

Create biomonitoR reference dataset from GBIF

Description

Function to create a reference biomonitoR dataset using API from the Global Biodiversity Information Facility (GBIF).

Usage

get_iucn_taxa_tree(x, ref_from_tree = FALSE, token = NULL)

Arguments

x

Vector containing your taxa list.

ref_from_tree

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

token

See IUCN API token. Detailed information at https://apiv3.iucnredlist.org/api/v3/token

See Also

as_biomonitor get_gbif_taxa_tree get_nbn_taxa_tree get_worms_taxa_tree

Examples

## Not run: 

data(macro_ex)
refDB <- get_iucn_taxa_tree(macro_ex$Taxa)
refDB_bior <- refDB$taxonomy
data_asb <- as_biomonitor(macro_ex, dfref = refDB_bior, overwrite = TRUE)
data_agR <- aggregate_taxa(data_asb)


## End(Not run)

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