Get values available for non-standard evaluation in a taxonomy() or taxmap() object used in expressions. Expressions are not evaluated and do not need to make sense.

obj$data_used(...)

Arguments

obj

a taxonomy() or taxmap() object

...

One or more expressions

Value

list

See also

Other NSE helpers: all_names(), get_data(), names_used

Examples

# Get values for variables names used in expressions ex_taxmap$data_used(n_legs + dangerous == invalid_expression)
#> $n_legs #> m n o p q r #> 4 4 4 2 0 0 #> #> $dangerous #> m n o p q r #> TRUE FALSE FALSE TRUE FALSE FALSE #>
ex_taxmap$data_used(length(unique(taxon_names)))
#> $taxon_names #> b c d e f #> "Mammalia" "Plantae" "Felidae" "Notoryctidae" "Hominidae" #> g h i j k #> "Solanaceae" "Panthera" "Felis" "Notoryctes" "homo" #> l m n o p #> "Solanum" "tigris" "catus" "typhlops" "sapiens" #> q r #> "lycopersicum" "tuberosum" #>