Package 'sgtourism'

Title: St.Gallen Tourism Dashboard
Description: St.Gallen Tourism Dashboard R Shiny app.
Authors: Felix Luginbuhl [aut, cre] , Lutz Benson [aut], Fachstelle für Statistik Kanton St.Gallen [cph, fnd]
Maintainer: Felix Luginbuhl <[email protected]>
License: GPL (>= 3)
Version: 0.1.5
Built: 2024-11-19 11:19:51 UTC
Source: https://github.com/statistikSG/sgtourism

Help Index


Bounding Box of St.Gallen perimeter map.

Description

Bounding Box of St.Gallen perimeter map.

Usage

bbox_perimeter

Format

An object of class numeric of length 4.


Destinationen.

Description

Destinationen.

Usage

dest

Format

An object of class sf (inherits from data.frame) with 4 rows and 3 columns.


Gemeinden in den Destinationen.

Description

Gemeinden in den Destinationen.

Usage

dest_mun

Format

An object of class sf (inherits from data.frame) with 122 rows and 3 columns.


Subregionen der Destinationen.

Description

Subregionen der Destinationen.

Usage

dest_sub

Format

An object of class sf (inherits from data.frame) with 18 rows and 3 columns.


Data used in sgtourism dashboard

Description

A subset of official St.Gallen tourism data.

Usage

df_ueberblick

Format

An object of class tbl_df (inherits from tbl, data.frame) with 11376 rows and 174 columns.


lookup table for region names and corresponding values of var Aggregat in data set.

Description

lookup table for region names and corresponding values of var Aggregat in data set.

Usage

lookup_aggregat

Format

An object of class spec_tbl_df (inherits from tbl_df, tbl, data.frame) with 48 rows and 2 columns.


Metadata used for country and region names.

Description

Metadata used for country and region names.

Usage

meta_countries

Format

An object of class spec_tbl_df (inherits from tbl_df, tbl, data.frame) with 80 rows and 4 columns.


Run the Shiny Application

Description

Run the Shiny Application

Usage

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

Arguments

onStart

A function that will be called before the app is actually run. This is only needed for shinyAppObj, since in the shinyAppDir case, a global.R file can be used for this purpose.

options

Named options that should be passed to the runApp call (these can be any of the following: "port", "launch.browser", "host", "quiet", "display.mode" and "test.mode"). You can also specify width and height parameters which provide a hint to the embedding environment about the ideal height/width for the app.

enableBookmarking

Can be one of "url", "server", or "disable". The default value, NULL, will respect the setting from any previous calls to enableBookmarking(). See enableBookmarking() for more information on bookmarking your app.

uiPattern

A regular expression that will be applied to each GET request to determine whether the ui should be used to handle the request. Note that the entire request path must match the regular expression in order for the match to be considered successful.

...

arguments to pass to golem_opts. See '?golem::get_golem_options' for more details.