Skip to contents

Module calls multiple module_teal_data in sequence so that reactive teal_data output from one module is handed over to the following module's input.

Usage

ui_transform_data(id, transformers = list(), class = "well")

srv_transform_data(
  id,
  data,
  transformers = list(),
  modules,
  is_transformer_failed = reactiveValues()
)

Arguments

id

(character(1)) Module id

transformers

(list of teal_data_module) that will be applied to transform the data. Each transform module UI will appear in the teal's sidebar panel. Transformers' datanames are added to the datanames. See teal_transform_module().

data

(reactive teal_data)

modules

(teal_modules or teal_module) For datanames validation purpose

is_transformer_failed

(reactiveValues) contains logical flags named after each transformer. Help to determine if any previous transformer failed, so that following transformers can be disabled and display a generic failure message.

Value

reactive teal_data