DEPRECATED, please see package datamods for similar features.
chooseDataUI(id, label = "Data", icon = "database", width = "100%", ...)chooseDataServer(
input,
output,
session,
dataModule = c("GlobalEnv", "ImportFile"),
data = NULL,
name = NULL,
selectVars = TRUE,
selectedTypes = c("continuous", "discrete", "time"),
coerceVars = FALSE,
launchOnStart = TRUE,
size = "m"
)
a reactiveValues
containing the data selected under slot data
and the name of the selected data.frame
under slot name
.
Module's id.
Label for button, passed to actionButton
.
Icon to appears on the button, passed to actionButton
.
Width of button, passed to actionButton
.
Other arguments passed to actionButton
standards shiny
server arguments.
Data module to use, choose between "GlobalEnv"
(select ad data.frame
from Global environment)
or "ImportFile"
(import an external file supported by import
).
A data.frame
to use by default.
Character, object's name to use for data
.
Display module to select variables, TRUE
by default.
Type of variables selected by default in select variables module.
Possible types are "discrete"
, "time"
, "continuous"
and "id"
,
by default "id"
is discarded.
Display module to coerce variables between different class, TRUE
by default.
Opens modal window when the application starts.
Size for the modal window.