airnow_createDataDataframes: Return reshaped dataframes of AirNow data
Description
This function uses the airnow_downloadParseData function
to download monthly dataframes of AirNow data and restructures that data into
a format that is compatible with the PWFSLSmoke package ws_monitor
data model. The output is meant to be used as the df argument in other
PWFSLSmoke functions (e.g. airnow_qualityControl).
AirNow data parameters include at least the following list:
BARPR
BC
CO
NO
NO2
NO2Y
NO2X
NOX
NOOY
OC
OZONE
PM10
PM2.5
PRECIP
RHUM
SO2
SRAD
TEMP
UV-AETH
WD
WS
Setting parameters=NULL will generate a separate dataframe for each of
the above parameters.
# NOT RUN {# Fail gracefully if any resources are not availabletry({
airnowList <- airnow_createDataDataframes("PM2.5", 2019062500)
}, silent = FALSE)
# }