Learn R Programming

timeseriesdb (version 0.2.1)

createChoices: Create Choices Boxes Dynamically

Description

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.

Usage

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, ...)

Arguments

x

query type as character.

input

input that triggers action. Defaults to NULL.

keys

results to rendered to the choice box. Defaults to NULL.

con

PostgreSQL Connection object.

...

addtional arguments to be passed to the methods.