View source: R/FilterStates-utils.R
get_supported_filter_varnames | R Documentation |
Gets filterable variable names from a given object. The names match variables
of classes in an vector teal.slice:::.filterable_class
.
get_supported_filter_varnames(data)
data |
the |
character
vector of variable names.
# use non-exported function from teal.slice
get_supported_filter_varnames <- getFromNamespace("get_supported_filter_varnames", "teal.slice")
df <- data.frame(
a = letters[1:3],
b = 1:3,
c = Sys.Date() + 1:3,
d = Sys.time() + 1:3,
z = complex(3)
)
get_supported_filter_varnames(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.