run_app: Run the Shiny Application

Description Usage Arguments

View source: R/run_app.R

Description

Run the Shiny Application

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
run_app(
  app_mode = c("regular", "rt"),
  app_title = "Crowd Forecast",
  data,
  first_forecast_date = "auto",
  horizons = 4,
  horizon_interval = 7,
  submission_date = NA,
  selection_vars = c("location", "target_type"),
  forecast_quantiles = c(0.01, 0.025, seq(0.05, 0.95, 0.05), 0.975, 0.99),
  google_account_mail = NULL,
  path_service_account_json = NULL,
  forecast_sheet_id,
  user_data_sheet_id,
  user_management = TRUE,
  path_epinow2_samples = "data-raw/samples",
  past_forecasts = NULL,
  app_up_to_date = TRUE,
  default_distribution = "log-normal",
  default_baseline = "constant baseline",
  force_increasing_uncertainty = TRUE,
  ...
)

Arguments

forecast_quantiles

the quantiles for which a forecast shall be made

...

A series of options to be used inside the app.


epiforecasts/crowdforecastr documentation built on June 23, 2021, 10:30 p.m.