Convert choices_selected to data_extract_spec with only filter_spec
Source:R/utils.R
cs_to_des_filter.Rd
Convert choices_selected to data_extract_spec with only filter_spec
Arguments
- cs
(
choices_selected
)
object to be transformed. Seeteal.transform::choices_selected()
for details.- dataname
(
character
)
name of the data- multiple
(
logical
)
Whether multiple values shall be allowed in the shinyshiny::selectInput()
.- include_vars
(
flag
)
whether to include the filter variables as fixed selection in the result. This can be useful for preserving for reuse inrtables
code e.g.- label
(
character
)
Label to print over the selection field. For no label, set toNULL
.