FilteredData objectsOversee filter states across the entire application.
filter_manager_ui(id)filter_manager_srv(id, filtered_data_list, filter)
A list of reactives, each holding a teal_slices, as returned by filter_manager_module_srv.
(character(1))
shiny module id.
(named list)
A list, possibly nested, of FilteredData objects.
Each FilteredData will be served to one module in the teal application.
The structure of the list must reflect the nesting of modules in tabs
and the names of the list must match the labels of their respective modules.
(teal_slices)
Specifies the initial filter using teal_slices().
This module observes changes in the filters of each FilteredData object
and keeps track of all filters used. A mapping of filters to modules
is kept in the mapping_matrix object (which is actually a data.frame)
that tracks which filters (rows) are active in which modules (columns).