R/GUI.R

#' The \pkg{dataesgobr} package contains a basic Shiny-based GUI that you can
#' use in order to work easily while you are using the package.
#' You have to install the \pkg{shiny} package to use this GUI.
#'
#' @title Launches the web-based GUI for dataesgobr
#' @return nothing
#' @description Download, load and edit using an interactive user interface in the web browser
#' @examples
#' \dontrun{
#' library(dataesgobr)
#' runGUI()
#' }
#' @import shiny
#' @export
runGUI <- function() {
  appDir <- system.file("dataesgobrApp", package = "dataesgobr")
  shiny::runApp(appDir, launch.browser = TRUE)

  invisible()
}

Try the dataesgobr package in your browser

Any scripts or data that you put into this service are public.

dataesgobr documentation built on June 18, 2019, 5:04 p.m.