Learn R Programming

timeseriesdb (version 0.2.1)

createUI: Polymorphic Helpers for the Shiny Based GUI

Description

Though R is not strictly OO it is sometimes useful to add some object orientation. In the case of a shiny app with an dynamically created user interface a bit of pseudo polymorphism helps to avoid too many but,ifs and elses. Depending on the query type that is selected by the user a UI creation method is called.

Usage

createUI(x, con, ...)

# S3 method for key createUI(x, con, ...)

# S3 method for set createUI(x, con, ...)

# S3 method for md createUI(x, con, ...)

Arguments

x

character query type.

con

PostgreSQL Connection object.

...

additional arguments to be passed to the respective methods.