FM_app_preload {formods}R Documentation

Preload Data Into App

Description

Populates session data for testing or to load a specific analysis.

Usage

FM_app_preload(
  session,
  sources = NULL,
  react_state = list(),
  quickload = FALSE
)

Arguments

session

Shiny session variable (in app) or a list (outside of app)

sources

Vector of at corresponds with the ID used to call the modules UI elements

react_state

Reactive shiny object (in app) or a list (outside of app) used to trigger reactions

quickload

Logical TRUE to load reduced analysis FALSE to load the full analysis

Value

list with the following elements

Examples

sources=system.file(package="formods", "preload", "UD.yaml")
res = FM_app_preload(session=list(), sources=sources)

[Package formods version 0.2.0 Index]