#' Run Google Trends app
#'
#' @return Can choose to export data and plots through Shiny
#' @export
#'
#' @examples
#' \dontrun{
#' runApp()
#' }
runApp <- function(){
appDir <- system.file("shiny-app", package = "GSPtrends")
if (appDir == "") {
stop("Could not find directory. Try reinstalling `GSPtrends`", 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.