The motivation for the shinydust
package originated with a need for a tabular display
of records from which to select single record to for further inspection. The shiny
function radioButtons
, however, didn't allow for a sufficiently organized tabular
display to permit an informative selection.
The shinydust
functions mimic their shiny
counterparts with mild modifications
to permit them to be used in tabular displays. In order to render the tabular inputs, the
functions are run on the shiny server in a renderText
call and rendered in the
user interface using uiOutput
.
Each shiny
input function has two counterparts appended with either _cell
or _row
. The _cell
functions produce HTML code for an input within a table
cell. The _row
functions generate a data frame with the label in one column and the
input control in the other, providing a shortcut to generate tables of multiple input
types.
Data frames of input controls can be converted to HTML code via the pixiedust
package.
This also permits all of the formatting options made available with pixiedust
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.