tidyepi <- function(...){
ad <- system.file("shinyapp", package = "tidyepi")
if(ad == ""){
stop("Package directory not found - is the tidyepi package installed?", call. = FALSE)
}
# Make any previously saved dictionaries available:
dictionaries <- get_dictionaries()
runApp(appDir=ad, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.