Module calls teal_transform_module()
in sequence so that reactive teal_data
output
from one module is handed over to the following module's input.
Usage
ui_transform_teal_data(id, transformators, class = "well")
srv_transform_teal_data(
id,
data,
transformators,
modules = NULL,
is_transform_failed = reactiveValues()
)
Arguments
- id
(
character(1)
)shiny
module instance id.- transformators
(
list
ofteal_transform_module
) that will be applied to transform module's data input. To learn more checkvignette("data-transform-as-shiny-module", package = "teal")
.- class
(character(1)) CSS class to be added in the
div
wrapper tag.- data
(
reactive
returningteal_data
)- modules
(
teal_modules
orteal_module
) Fordatanames
validation purpose- is_transform_failed
(
reactiveValues
) containslogical
flags named after each transformator. Help to determine if any previous transformator failed, so that following transformators can be disabled and display a generic failure message.