data.frameDEPRECATED, please see package datamods for similar features.
filterDF_UI(id, show_nrow = TRUE)filterDF(
input,
output,
session,
data_table = reactive(),
data_vars = shiny::reactive(NULL),
data_name = reactive("data"),
label_nrow = "Number of rows:",
drop_ids = TRUE,
picker = FALSE
)
Module id. See callModule.
Show number of filtered rows and total.
standards shiny server arguments.
reactive function returning a
data.frame to filter.
reactive function returning a
character vector of variable to use for filters.
reactive function returning a
character string representing data_table name.
Text to display before the number of rows of filtered data / source data.
Drop columns containing more than 90% of unique values, or than 50 distinct values.
Use shinyWidgets::pickerInput
instead of shiny::selectizeInput (default).
A list with 2 elements :
data_filtered : reactive function returning data filtered.
code : reactiveValues with 2 slots :
expr (raw expression to filter data) and dplyr (code with dplyr pipeline).