# Utilities for Working with Air Quality Monitoring Data

## Documentation for package ‘PWFSLSmoke’ version 1.2.117

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A C D E G I L M N R S T U W

## -- A --

addAQILegend | Add an AQI Legend to a Map
addAQILines | Add AQI Lines to a Plot
addAQIStackedBar | Create Stacked AQI Bar
addBullseye | Add a Bullseyes to a Map or RgoogleMap Plot
addIcon | Add Icons to a Map or RgoogleMap Plot
addMarker | Add Icons to a Map or RgoogleMap Plot
addPolygon | Add a Colored Polygon to a Plot
addShadedBackground | Add Shaded Background to a Plot
addShadedNight | Add Nighttime Shading to a Plot
addWindBarbs | Add wind barbs to a map
airnow_createDataDataframes | Return reshaped dataframes of AirNow data
airnow_createMetaDataframes | Create dataframes of AirNow site location metadata
airnow_createMonitorObjects | Obain AirNow data and create ws_monitor objects
airnow_downloadHourlyData | Download hourly data from AirNow
airnow_downloadParseData | Download and aggregate multiple hourly data files from AirNow
airnow_downloadSites | Download AirNow Site Location Metadata
airnow_load | Load Processed AirNow Monitoring Data
airnow_loadAnnual | Load annual AirNow monitoring data
airnow_loadDaily | Load recent AirNow monitoring data
airnow_loadLatest | Load most recent AirNow monitoring data
airnow_qualityControl | Apply Quality Control to AirNow dataframe
AIRSIS | AIRSIS Unit Types
airsis_availableUnits | Get AIRSIS available unit identifiers
airsis_BAM1020QualityControl | Apply Quality Control to raw AIRSIS BAM1020 dataframe
airsis_createDataDataframe | Create AIRSIS data dataframe
airsis_createMetaDataframe | Create AIRSIS site location metadata dataframe
airsis_createMonitorObject | Obain AIRSIS data and create ws_monitor object
airsis_createRawDataframe | Obain AIRSIS data and parse into a raw tibble
airsis_downloadData | Download AIRSIS data
airsis_EBAMQualityControl | Apply Quality Control to raw AIRSIS EBAM tibble
airsis_EBAM_MULTI2QualityControl | Apply Quality Control to raw AIRSIS EBAM MULTI2 tibble
airsis_EBAM_MULTI2_BQualityControl | Apply Quality Control to raw AIRSIS EBAM MULTI2_B tibble
airsis_EBAM_PLUS_MULTIQualityControl | Apply Quality Control to raw AIRSIS EBAM PLUS_MULTI tibble
airsis_ESAMQualityControl | Apply Quality Control to raw AIRSIS E-Sampler dataframe
airsis_ESAM_MULTIQualityControl | Apply Quality Control to raw AIRSIS E-Sampler dataframe
airsis_identifyMonitorType | Identify AIRSIS monitor type
airsis_load | Load Processed AIRSIS Monitoring Data
airsis_loadAnnual | Load annual AIRSIS monitoring data
airsis_loadDaily | Load recent AIRSIS monitoring data
airsis_loadLatest | Load most recent AIRSIS monitoring data
airsis_parseData | Parse AIRSIS data string
airsis_qualityControl | Apply Quality Control to raw AIRSIS dataframe
AQI | Official Air Quality Index Levels, Names and Colors
aqiColors | Generate AQI Colors
aqiPalette | Color Palettes for Air Quality Monitoring Data
AQI_en | Official Air Quality Index Levels, Names and Colors
AQI_es | Official Air Quality Index Levels, Names and Colors

## -- C --

Camp_Fire | Camp Fire example dataset
Carmel_Valley | Carmel Valley example dataset
CONUS | CONUS State Codes

## -- D --

distance | Calculate distances between points

## -- E --

epa_createDataDataframe | Create EPA data dataframe
epa_createMetaDataframe | Create dataframe of EPA site location metadata
epa_createMonitorObject | Download and convert hourly EPA air quality data
epa_downloadData | Download EPA air quality data
epa_load | Load Processed EPA Monitoring Data
epa_loadAnnual | Load annual EPA monitoring data
epa_parseData | Parse EPA data
esriToken | Token used for ESRI Geocoding Requests

## -- G --

generic_downloadData | Download generic data
generic_parseData | Parse generic air quality files
getEsriToken | Get ESRI Token
getGoogleApiKey | Get Google API Key
googleApiKey | API Key used for Google Geocoding Requests

## -- I --

initializeMazamaSpatialUtils | Initialize Mazama Spatial Utils

## -- L --

loadDaily | Load Recent PM2.5 Monitoring Data
loadLatest | Load Recent PM2.5 Monitoring Data

## -- M --

monitor_aqi | Calculate hourly NowCast-based AQI values
monitor_asDataframe | Return Monitor Data in a Single Dataframe
monitor_collapse | Collapse a ws_monitor Object into a ws_monitor Object with a Single Monitor
monitor_combine | Combine List of ws_monitor Objects into Single ws_monitor Object
monitor_dailyBarplot | Create Daily Barplot
monitor_dailyStatistic | Calculate daily statistics
monitor_dailyStatisticList | Calculate Daily Statistics
monitor_dailyThreshold | Calculate Daily Counts of Values At or Above a Threshold
monitor_distance | Calculate distances from monitors to a location of interest
monitor_downloadAnnual | Download annual PM2.5 monitoring data
monitor_downloadDaily | Download recent PM2.5 monitoring data
monitor_downloadLatest | Download recent PM2.5 monitoring data
monitor_dygraph | Create Interactive Time Series Plot
monitor_extractData | Extract dataframes from _ws_monitor_ objects
monitor_extractDataFrame | Extract dataframes from _ws_monitor_ objects
monitor_extractMeta | Extract dataframes from _ws_monitor_ objects
monitor_getCurrentStatus | Get current status of monitors
monitor_getDailyMean | Calculate daily means for a ws_monitor object
monitor_hourlyBarplot | Create Hourly Barplot
monitor_isEmpty | Test for an Empty ws_monitor Object
monitor_isMonitor | Test for an correct structure of ws_monitor Object
monitor_isolate | Isolate Individual Monitors
monitor_isTidy | Check if data is tidy-formatted ws_monitor data
monitor_join | Merge Data for Monitors with Shared monitorIDs
monitor_leaflet | Leaflet interactive map of monitoring stations
monitor_load | Load PM2.5 monitoring data
monitor_loadAnnual | Load annual PM2.5 monitoring data
monitor_loadDaily | Load recent PM2.5 monitoring data
monitor_loadLatest | Load most recent PM2.5 monitoring data
monitor_map | Static map of monitoring stations
monitor_nowcast | Apply Nowcast Algorithm to ws_monitor Object
monitor_performance | Calculate Monitor Prediction Performance
monitor_performanceMap | Create map of monitor prediction performance
monitor_print | Print monitor data as CSV
monitor_reorder | Reorder a ws_monitor bject
monitor_replaceData | Replace ws_monitor Data with Another Value
monitor_rollingMean | Calculate Rolling Means
monitor_rollingMeanPlot | Create Rolling Mean Plot
monitor_scaleData | Scale ws_monitor Data
monitor_stamenmap | Create a static map of ws_monitor object
monitor_staticmap | Create a static map of ws_monitor object
monitor_subset | Subset ws_monitor Object
monitor_subsetBy | Subset ws_monitor Object with a Filter
monitor_subsetByDistance | Subset ws_monitor Object by Distance from Target Location
monitor_subsetData | Subset ws_monitor Object 'data' Dataframe
monitor_subsetMeta | Subset ws_monitor Object 'meta' Dataframe
monitor_timeAverage | Calculate Time Averages
monitor_timeInfo | Get time related information for a monitor
monitor_timeseriesPlot | Create Timeseries Plot
monitor_toTidy | Convert 'ws_monitor' data to a tidy format
monitor_trim | Trim ws_monitor Time Axis to Remove NA Periods From Beginning and End
monitor_writeCSV | Write monitor data as CSV
monitor_writeCurrentStatusGeoJSON | Write current monitor data to geojson file

## -- N --

Northwest_Megafires | Northwest_Megafires example dataset

## -- R --

rawPlot_pollutionRose | Create Pollution Rose Plot from a Raw Dataframe
rawPlot_timeOfDaySpaghetti | Create Time of Day Spaghetti Plot from a Raw Dataframe
rawPlot_timeseries | Create Timeseries Plot from a Raw Dataframe
rawPlot_windRose | Create Wind Rose Plot from a Raw Dataframe
raw_enhance | Process Raw Monitoring Data to Create raw_enhance Object
raw_getHighlightDates | Return Day Stamps for Values Above a Threshold

## -- S --

setEsriToken | Set ESRI Token
setGoogleApiKey | Set Google API Key
skill_confusionMatrix | Confusion Matrix Statistics
skill_ROC | ROC Curve
skill_ROCPlot | ROC Plot
staticmap_getEsrimapBrick | Create a rasterBrick from an Esri tiled image server
staticmap_getRasterBrick | Create a rasterBrick from a tiled image server
staticmap_getStamenmapBrick | Create a rasterBrick from stamenmap tiles
staticmap_plotRasterBrick | Plot an RGB rasterBrick

## -- T --

tidy_toMonitor | Convert 'ws_tidy' data to a 'ws_monitor' object
timeInfo | Get time related information

## -- U --

upgradeMeta_v1.0 | Upgrade ws_monitor Metadata to Version 1.0
US_52 | US State Codes

## -- W --

WRCC | WRCC Monitor Names and Unit IDs
wrcc_createDataDataframe | Create WRCC data dataframe
wrcc_createMetaDataframe | Create WRCC site location metadata dataframe
wrcc_createMonitorObject | Obtain WRCC data and create ws_monitor object
wrcc_createRawDataframe | Obtain WRCC data and parse into a tibble
wrcc_downloadData | Download WRCC data
wrcc_EBAMQualityControl | Apply Quality Control to raw WRCC EBAM tibble
wrcc_ESAMQualityControl | Apply Quality Control to raw WRCC E-Sampler tibble
wrcc_identifyMonitorType | Identify WRCC monitor type
wrcc_load | Load Processed WRCC Monitoring Data
wrcc_loadAnnual | Load annual WRCC monitoring data
wrcc_loadDaily | Load recent WRCC monitoring data
wrcc_loadLatest | Load most recent WRCC monitoring data
wrcc_parseData | Parse WRCC data string
wrcc_qualityControl | Apply Quality Control to raw WRCC tibble