ts_feat_basic_tidyverts: ts_feat_basic_tidyverts

Description Usage Arguments Details Value Functions Examples

Description

A shiny module for ts_feat_basic_tidyverts.

Usage

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)

Arguments

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.

Details

The module is an UI for user to display simple features of time series tidyverts family packages.

Value

Functions

Examples

 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)

chriszheng2016/zstexplorer documentation built on June 13, 2021, 9:47 a.m.