sn_run_app | R Documentation |
Run the Shiny Application
sn_run_app(
lau_by_nuts = sn_lau_by_nuts,
app_title = "Mapping Diversity - European Data Journalism Network (EDJNet)",
country_name = NULL,
enable_tag = TRUE,
category_choices = c("politics", "culture", "religion", "military", "other"),
lau_year = 2020,
connection = NULL,
sn_data_folder = NULL,
user_base = NULL,
custom_head_html = "",
onStart = NULL,
options = list(),
enableBookmarking = NULL,
uiPattern = "/",
...
)
lau_by_nuts |
A list of municipalities passed to the app. Defaults to 'sn_lau_by_nuts'. If given, typically a filtered version of 'sn_lau_by_nuts', or a data frame with the same columns. |
country_name |
Full name of country to be used as default. Full country name. See 'unique(sn_lau_by_nuts$country_name)' for valid values. |
connection |
A database connection or connection parameters compatible with 'tidywikidatar' to be use by both 'tidywikidatar' and 'streetnamer'. Necessary for deployed apps, as environment parameters are stripped by Shiny server. |
user_base |
A data frame with users and passwords in the format used by the package 'shinyauthr'. |
onStart |
A function that will be called before the app is actually run.
This is only needed for |
options |
Named options that should be passed to the |
enableBookmarking |
Can be one of |
uiPattern |
A regular expression that will be applied to each |
... |
arguments to pass to golem_opts. See '?golem::get_golem_options' for more details. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.