get_monitor_daterange | R Documentation |
For the specified date range and US states, downloads AirNow, AirSIS, or WRCC data from the AirFire archive.
get_monitor_daterange(start, end, states, mon_source = "airnow")
start |
Date The earliest date to search |
end |
Date The latest date to search. Must be in the same calendar year as |
states |
character The states to include as a vector of two-character state abbreviations |
mon_source |
character The monitor source type among "airnow", "airsis", or "wrcc" |
monitoring data for the specified dates and locations as SpatialPointsDataFrame
dt1 <- as.Date("2018-11-01") dt2 <- as.Date("2018-11-30")
an_ws <- get_monitor_daterange(dt1, dt2, c("CA", "NV"), "airnow")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.