powered by
Loads pre-generated .RData files containing AirNow data. This function loads annual or monthly fiels from the data archive.
For the most recent data, use airnow_loadLatest().
airnow_loadLatest()
AirNow parameters include the following:
PM2.5
Avaialble RData and associated log files can be seen at: https://haze.airfire.org/monitoring/AirNow/RData/
airnow_load(year = 2017, month = NULL, parameter = "PM2.5", baseUrl = "https://haze.airfire.org/monitoring/AirNow/RData/")
desired year (integer or character representing YYYY)
desired month (integer or character representing MM)
parameter of interest
base URL for AirNow meta and data files
A ws_monitor object with AirNow data.
airnow_loadDaily
airnow_loadLatest
# NOT RUN { airnow <- airnow_load(2017, 09) airnow_conus <- monitor_subset(airnow, stateCodes=CONUS) monitorLeaflet(airnow_conus) # }
Run the code above in your browser using DataLab