R/nse-shiny-app.R

Defines functions nse_app

Documented in nse_app

#' @title Launch shiny app
#' @description Launches shiny app for fetching data from NSE.
#' @examples
#' \dontrun{
#' nse_app()
#' }
#' @export
#'
nse_app  <- function() {

  check_suggests('shiny')
  check_suggests('shinyBS')
  check_suggests('shinycssloaders')
  check_suggests('shinythemes')

  shiny::runApp(appDir = system.file("application", package = "nse2r"))
}

Try the nse2r package in your browser

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

nse2r documentation built on Nov. 1, 2022, 5:05 p.m.