Return the names of data that can be used with functions in the taxa
package that use non-standard evaluation (NSE),
like filter_taxa()
.
obj$all_names(tables = TRUE, funcs = TRUE, others = TRUE, warn = FALSE) all_names(obj, tables = TRUE, funcs = TRUE, others = TRUE, warn = FALSE)
obj | ( |
---|---|
tables | This option only applies to |
funcs | This option only applies to |
others | This option only applies to |
builtin_funcs | This option only applies to |
warn | option only applies to |
character
Other NSE helpers:
data_used
,
get_data()
,
names_used
# Get the names of all data accesible by non-standard evaluation all_names(ex_taxmap)#> taxon_names taxon_ids taxon_indexes #> "taxon_names" "taxon_ids" "taxon_indexes" #> classifications n_supertaxa n_supertaxa_1 #> "classifications" "n_supertaxa" "n_supertaxa_1" #> n_subtaxa n_subtaxa_1 n_leaves #> "n_subtaxa" "n_subtaxa_1" "n_leaves" #> n_leaves_1 taxon_ranks is_root #> "n_leaves_1" "taxon_ranks" "is_root" #> is_stem is_branch is_leaf #> "is_stem" "is_branch" "is_leaf" #> is_internode n_obs n_obs_1 #> "is_internode" "n_obs" "n_obs_1" #> data$info$name data$info$n_legs data$info$dangerous #> "name" "n_legs" "dangerous" #> data$abund$code data$abund$sample_id data$abund$count #> "code" "sample_id" "count" #> data$abund$taxon_index data$phylopic_ids data$foods #> "taxon_index" "phylopic_ids" "foods" #> funcs$reaction #> "reaction"# Dont include the names of automatically included functions. all_names(ex_taxmap, builtin_funcs = FALSE)#> data$info$name data$info$n_legs data$info$dangerous #> "name" "n_legs" "dangerous" #> data$abund$code data$abund$sample_id data$abund$count #> "code" "sample_id" "count" #> data$abund$taxon_index data$phylopic_ids data$foods #> "taxon_index" "phylopic_ids" "foods" #> funcs$reaction #> "reaction"