Skip to contents

Starts the app, with the tabs of golemworldbank: country and indicator comparisons, a population pyramid, a bar chart race, a scatter plot, maps of the countries and of the regions, the change of the indicators between two years, the list of the indicators and an About page. Each indicator is downloaded from Eurostat when a tab first needs it, and kept on disk for a day (see get_indicator()), so the first look at an indicator takes a second or two.

Usage

run_app(
  analytics = FALSE,
  onStart = NULL,
  options = list(),
  enableBookmarking = NULL,
  uiPattern = "/",
  ...
)

Arguments

analytics

TRUE to add Google Analytics, through the cookie banner shared with the sites of sedzinfo.github.io, which loads it only after the visitor accepts. Meant for the public deployment (see app.R); off by default, so that running the app yourself sends nothing.

onStart, options, enableBookmarking, uiPattern

Passed to shiny::shinyApp().

...

Options of the app, see golem::get_golem_options().

Value

A shiny::shinyApp() object; printing it opens the app.

Examples

if (interactive()) run_app()