taxa (version 0.3.2)

names_used: Get names of data used in expressions

Description

Get names of available data used in expressions. This is used to find data for use with non-standard evaluation (NSE) in functions like filter_taxa(). Expressions are not evaluated and do not need to make sense.

obj$names_used(...)

Arguments

obj

a taxonomy() or taxmap() object

...

One or more expressions

Value

Named character

See Also

Other NSE helpers: all_names, data_used, get_data

Examples

Run this code
# NOT RUN {
ex_taxmap$names_used(n_legs + dangerous == invalid_expression)

# }

Run the code above in your browser using DataCamp Workspace