Description Usage Arguments Details Value Functions Examples
A shiny module for ts_feat_basic_tidyverts.
1 2 3 4 5 | ts_feat_basic_tidyverts_ui(id)
ts_feat_basic_tidyverts_server(id, tsbl_vars, tsbl_vars_average)
ts_feat_basic_tidyverts_app(use_online_data = FALSE)
|
id |
An ID string of module to connecting UI function and Server function. |
tsbl_vars |
A tsibble of vars of time series. |
tsbl_vars_average |
A tsibble of average of vars of time series. |
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 simple features of time series tidyverts family packages.
UI function doesn't return value.
Server function doesn't return value.
ts_feat_basic_tidyverts_ui
: UI function of ts_feat_basic_tidyverts.
ts_feat_basic_tidyverts_server
: Server function of ts_feat_basic_tidyverts.
ts_feat_basic_tidyverts_app
: Testing App of ts_feat_basic_tidyverts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
# Set up control UI in app UI
ui <- fluidPage(
ts_feat_basic_tidyverts_ui("ts_feat_basic_tidyverts_module")
)
# Call control server in App server
server <- function(input, output, session) {
ts_feat_basic_tidyverts <- ts_feat_basic_tidyverts_server(
"ts_feat_basic_tidyverts_module",
tsbl_vars = reactive(tsbl_vars),
tsbl_vars_average = reactive(tsbl_vars_average)
)
}
# Run testing App for integration testing
ts_feat_basic_tidyverts_app()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.