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)traits.build database
dataset_id for dataset of interest
Taxonomic resources from APCalign::load_taxonomic_resources(),
or NULL (the default) to use database$taxa
table with number of new taxa added for each trait
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.
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)
} # }