powered by
Loads a pre-generated .RData file containing a year's worth of monitoring data.
EPA parameter codes include:
88101 -- PM2.5 FRM/FEM Mass (begins in 2008)
88502 -- PM2.5 non FRM/FEM Mass (begins in 1998)
Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/EPA/RData/
epa_load(year = strftime(lubridate::now(), "%Y", tz = "UTC"), parameterCode = "88101", baseUrl = "https://haze.airfire.org/monitoring/EPA/RData/")
desired year (integer or character representing YYYY)
pollutant code
base URL for EPA .RData files
A ws_monitor object with EPA data for an entire year.
EPA AirData Pre-Generated Data Files
# NOT RUN { epa_frm <- epa_load(2015, 88101) epa_frm_conus <- monitor_subset(epa_frm, stateCodes=CONUS) monitorLeaflet(epa_frm_conus) # }
Run the code above in your browser using DataLab