View source: R/get_iucn_taxa.R
get_iucn_taxa_tree | R Documentation |
Function to create a reference biomonitoR dataset using API from the Global Biodiversity Information Facility (GBIF).
get_iucn_taxa_tree(x, ref_from_tree = FALSE, token = NULL)
x |
Vector containing your taxa list. |
ref_from_tree |
Create a reference database in the |
token |
See IUCN API token. Detailed information at https://apiv3.iucnredlist.org/api/v3/token |
as_biomonitor get_gbif_taxa_tree get_nbn_taxa_tree get_worms_taxa_tree
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.