Dynamically create choices boxes depending on interactive choices by the user. The UI reacts to user input. We use a somewhat polymorphic approach here to avoid too much if/else and improve readabitity.
createChoices(x, input = NULL, keys = NULL, con, ...)# S3 method for key
createChoices(x, input = NULL, keys = NULL, ...)
# S3 method for md
createChoices(x, input = NULL, keys = NULL, con, ...)
# S3 method for set
createChoices(x, input = NULL, keys = NULL, con, ...)
query type as character.
input that triggers action. Defaults to NULL.
results to rendered to the choice box. Defaults to NULL.
PostgreSQL Connection object.
addtional arguments to be passed to the methods.