View source: R/airnow_loadMonthly.R
airnow_loadMonthly | R Documentation |
Loads pre-generated .rda files containing hourly AirNow data.
If archiveDataDir
is defined, data will be loaded from this local
archive. Otherwise, data will be loaded from the monitoring data repository
maintained by the USFS AirFire team.
The files loaded by this function contain a single month's worth of data
For the most recent data in the last 10 days, use airnow_loadLatest()
.
For daily updates covering the most recent 45 days, use airnow_loadDaily()
.
For data extended more than 45 days into the past, use airnow_loadAnnual()
.
Pre-processed AirNow exists for the following parameters:
PM2.5
airnow_loadMonthly(
monthStamp = NULL,
archiveBaseUrl = paste0("https://airfire-data-exports.s3.us-west-2.amazonaws.com/",
"monitoring/v2"),
archiveBaseDir = NULL,
QC_negativeValues = c("zero", "na", "ignore"),
parameterName = "PM2.5"
)
monthStamp |
Year-month [YYYYmm]. |
archiveBaseUrl |
Base URL for monitoring v2 data files. |
archiveBaseDir |
Local base directory for monitoring v2 data files. |
QC_negativeValues |
Type of QC to apply to negative values. |
parameterName |
One of the EPA AQS criteria parameter names. |
A mts_monitor object with AirNow data. (A list with
meta
and data
dataframes.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.