Function to create a picker input for filtering value.

pickerValues(
  id,
  df,
  variable = "faculty",
  role = "left",
  selected = "All",
  multiple = TRUE
)

Arguments

id

A string representing the id of the input element.

df

A data frame containing the data.

variable

A string representing the variable to filter. Default is "faculty".

role

A string representing the role. Default is "left".

selected

The selected value. Default is "All".

multiple

A boolean indicating whether multiple selections are allowed. Default is TRUE.

Value

A pickerInput object.