streakexplorerApp | R Documentation |
Streak explorer app
streakexplorerApp(my_pool, initial_year_min, initial_year_max, ...)
my_pool |
RMariaDB DB pool |
initial_year_min |
Minimum year in the initial year range |
initial_year_max |
Maximum year in the initial year range |
... |
Additional arguments passed on to shiny::shinyApp |
A shiny::shinyApp
## Not run: my_pool <- pool::dbPool( RMariaDB::MariaDB(), host = Sys.getenv("streak_explorer_db_host"), port = as.integer(Sys.getenv("streak_explorer_db_port")), user = Sys.getenv("streak_explorer_db_user"), password = Sys.getenv("streak_explorer_db_password"), dbname = Sys.getenv("streak_explorer_db_name") ) streakexplorerApp(my_pool, 1948, 1960) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.