R/ChileAirQualityApp.R

Defines functions ChileAirQualityApp

Documented in ChileAirQualityApp

#' Title ChileAirQualityApp
#' @description This tool is a dashboard that allows you to use the data download
#'  functions of this package enhanced with analysis, visualization and
#'  descriptive statistics tools.
#' @return A shiny dashboard to work with the package
#' @export
#' @seealso <https://chileairquality.shinyapps.io/chileairquality/>
#' @examples \dontrun{ChileAirQualityApp()}
#' @import shiny
#' @import shiny
#' @import shinycssloaders
# @importFrom plotly plot_ly
# @importFrom data.table setDT data.table
# @importFrom DT dataTableOutput datatable renderDataTable
# @importFrom lubridate year
# @importFrom openair timeVariation corPlot timePlot polarPlot calendarPlot scatterPlot smoothTrend
ChileAirQualityApp <- function() {
  Directory <- system.file("shiny", package = "AtmChile")
  if (Directory == "") {
    stop("Try reinstalling the package 'AtmChile'.", call. = FALSE)
  }
  shiny::runApp(Directory, display.mode = "normal")
}

Try the AtmChile package in your browser

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

AtmChile documentation built on Aug. 30, 2022, 1:12 a.m.