################################################################################
#
#'
#' Initialise built-in Shiny application
#'
#' @return NULL
#' @examples
#' #
#'
#' @export
#
################################################################################
run_dashboard <- function() {
appDir <- system.file("liberiaDashboard", package = "liberiaData")
if (appDir == "") {
stop("Could not find Shiny directory. Try re-installing `liberiaData`.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.