Skip to contents

Convert choices_selected to filter_spec

Usage

cs_to_filter_spec(cs, multiple = FALSE, label = "Filter by")

Arguments

cs

(choices_selected) object to be transformed. See teal.transform::choices_selected() for details.

multiple

(logical) Whether multiple values shall be allowed in the shiny selectInput.

label

(character) Label to print over the selection field. For no label, set to NULL.