InputHandler | R Documentation |
Class to handle input from the user. Supports direct paths or input fields
through setDataPath()
.
TreatmentPatterns::ShinyModule
-> InputHandler
reactiveValues
(reactiveValues
)
reactiveValues class created by reactiveValues.
uiMenu()
Method to include a menuItem to link to the body.
InputHandler$uiMenu(label = "File upload", tag = "fileUpload")
label
(character(1)
)
Label to show for the menuItem
.
tag
(character(1)
)
Tag to use internally in input
.
(menuItem
)
uiBody()
Method to include a tabItem to include the body.
InputHandler$uiBody()
(tabItem
)
server()
Method to handle the back-end.
InputHandler$server(input, output, session)
input
(input
)
Input from the server function.
output
(output
)
Output from the server function.
session
(session
)
Session from the server function.
(NULL
)
uiDatabaseSelector()
Method to include a uiOutput to select between multiple uploaded files.
InputHandler$uiDatabaseSelector()
(uiOutput
)
setDataPath()
Method to dictate where the data is coming from, either from the input
through the shiny application, or from a specified path. When one is
provided, the other is ignored.
InputHandler$setDataPath(tag = "uploadField", input = NULL, path = NULL)
tag
(character(1)
)
Tag to use internally in input
.
input
(input
)
Input from the server function of the shiny app.
path
(character(1)
)
Path to a zip-file containing TreatmentPatterns output files.
(invisible(self)
)
clone()
The objects of this class are cloneable with this method.
InputHandler$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.