UI for the Tplyr_table module
Tplyr_table_UI.RdUI for the Tplyr_table module
Arguments
- module_id
[character(1)]A character string that serves as unique identifier for the module.
- output_list
[list(list())]A named list defining the outputs to be generated. Each element of the list corresponds to a table or listing and must be a named list with one of the following structures:
For summary tables:
- tplyr_tab_fun
A function that takes one or more datasets as input and returns a
tplyr_tableobject.- build_fun
A function that takes the
tplyr_tableobject and returns a built table (typically usingTplyr::build()). The metadata argument ofTplyr::build()needs to be set toTURE, so that the corresponding listing can be shown.
For listings:
- dataset_names
A character vector of dataset names required to generate the listing.
The names of the top-level list elements are used as identifiers for the outputs.