taxa column in returned data frame is the best match for the name in
taxa_col based on the supplied taxonomy.
bin_taxa(df, taxa_col = "original_name", taxonomy, include_levels = NULL)Dataframe to attribute with best result from GBIF Backbone Taxonomy
Character. Name of column in df with taxa.
list with (at least) named elements lutaxa and taxonomy.
Usually resulting from call to envClean::make_taxonomy().
Character (or NULL). Name(s) of any extra columns in
taxa$taxonomy to return. e.g. include_levels = "kingdom" will return the
kingdom for each taxa.
Dataframe with added column taxa, and possibly include_levels