Function to indicate how many new taxa by trait combinations are added with a dataset. Only accepted species and infraspecific taxa are counted.

dataset_new_taxa_trait_combinations(database, dataset, resources = NULL)

Arguments

database

traits.build database

dataset

dataset_id for dataset of interest

resources

Taxonomic resources from APCalign::load_taxonomic_resources(), or NULL (the default) to use database$taxa

Value

table with number of new taxa added for each trait

Details

Which names are accepted is read from resources$APC when resources is given, and otherwise from the database's own taxa table. The taxa table is only as current as the database's taxon list, so pass resources to check against the current APC.

Examples

if (FALSE) { # \dontrun{
dataset_new_taxa_trait_combinations(austraits, "Falster_2003")
resources <- APCalign::load_taxonomic_resources()
dataset_new_taxa_trait_combinations(austraits, "Falster_2003", resources = resources)
} # }