#' Explore data in shiny applications
#'
#' Open an interactive app in a browser. See the "Shiny App" vignette:
#' \href{../doc/shinyApp.html}{\code{vignette("shinyApp", package = "toxEval")}} for more details. Using this
#' function is a quick and convenient way
#' to explore data. For more customization, the R-code to
#' produce each graph and table is displayed in the app. That is
#' a good starting-point for a custom analysis.
#'
#' @param browse Logical. Use browser for running Shiny app.
#' @export
#' @rdname shinystuff
#' @examples
#' \dontrun{
#' explore_aquifers()
#' }
explore_aquifers <- function(browse=TRUE){
shiny::runApp(system.file('shiny', package='HASP'), launch.browser = browse)
}
#' @rdname shinystuff
#' @export
#' @examples
#' \dontrun{
#' explore_site()
#' }
explore_site <- function(browse=TRUE){
shiny::runApp(system.file('single_site', package='HASP'), launch.browser = browse)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.