Defines functions epa_load

Documented in epa_load

#' @keywords EPA
#' @export
#' @title Load Processed EPA Monitoring Data
#' @param year desired year (integer or character representing YYYY)
#' @param parameterCode pollutant code
#' @param baseUrl base URL for EPA .RData files
#' @return A \emph{ws_monitor} object with EPA data for an entire year.
#' @description Please use \code{\link{airsis_loadAnnual}} instead of this
#' function. It will soon be deprecated.

epa_load <- function(year=strftime(lubridate::now(tzone = "UTC"), "%Y", tz = "UTC"),
                     baseUrl='https://haze.airfire.org/monitoring/EPA/RData/') {

  # TODO:  .Deprecate() this function at some point

  ws_monitor <- epa_loadAnnual(year, parameterCode)



Try the PWFSLSmoke package in your browser

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

PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.