Description Usage Arguments Details Value Functions Examples
A shiny module for cs_dist_DataExplorer.
1 2 3 4 5 | cs_dist_DataExplorer_ui(id)
cs_dist_DataExplorer_server(id, csbl_vars)
cs_dist_DataExplorer_app(use_online_data = FALSE)
|
id |
An ID string of module to connecting UI function and Server function. |
csbl_vars |
A tibble of vars of cross-section. |
use_online_data |
A logical to determine whether to use test data from database or not. Default FALSE means to use achieved data for tests. |
The module is an UI for user to display distribution by
DataExplorer
package.
UI function doesn't return value.
Server function doesn't return value.
cs_dist_DataExplorer_ui
: UI function of cs_dist_DataExplorer.
cs_dist_DataExplorer_server
: Server function of cs_dist_DataExplorer.
cs_dist_DataExplorer_app
: Testing App of cs_dist_DataExplorer.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# Set up control UI in app UI
ui <- fluidPage(
cs_dist_DataExplorer_ui("cs_dist_DataExplorer_module")
)
# Call control server in App server
server <- function(input, output, session) {
cs_dist_DataExplorer <- cs_dist_DataExplorer_server(
"cs_dist_DataExplorer_module",
csbl_vars = reactive(csbl_vars)
)
}
# Run testing App for integration testing
cs_dist_DataExplorer_app()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.