| module_filter_data | R Documentation |
Creates filter panel module from teal_data object and returns teal_data. It is build in a way
filter panel recalculates data only when filter-panel-state or loaded-data changes and when
panel is visible. Thanks to this special implementation all modules' data are recalculated only
for those modules which are currently displayed.
ui_filter_data(id)
srv_filter_data(id, datasets, active_datanames, data, is_active)
.make_filtered_teal_data(modules, data, datasets = NULL, datanames)
.observe_active_filter_changed(datasets, is_active, active_datanames, data)
.get_filter_expr(datasets, datanames)
id |
( |
datasets |
( |
active_datanames |
( |
data |
( |
modules |
( |
A eventReactive containing teal_data containing filtered objects and filter code.
eventReactive triggers only if all conditions are met:
tab is selected (is_active)
when filters are changed (get_filter_expr is different than previous)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.