R/Run_Indeed.R

Defines functions run_Indeed

Documented in run_Indeed

#' @title Shiny Application of Indeed Job Map
#' @description Run a shiny app to display Indeed Jobs on a map
#' @import shiny
#' @import tidyverse
#' @import lubridate
#' @import leaflet
#' @export
run_Indeed <- function() {
  appDir <- system.file("shiny-examples", "indeed_search", package = "group6project")
  if (appDir == "R/Run_Indeed.R") {
    stop(
      "Could not find example directory. Try re-installing group6project.",
      call. = FALSE
    )
  }

  shiny::runApp(appDir, display.mode = "normal")

}
Ferdi28/group6project documentation built on Dec. 23, 2019, 10:16 p.m.