US_AQI {AirMonitor} | R Documentation |
US EPA AQI Index levels, names, colors and action text
Description
Official, US EPA AQI levels, names, colors and action text are provided in a list for easy coloring and labeling.
Usage
US_AQI
Format
A list with named elements
Details
AQI breaks and associated names and colors
Breaks
Breakpoints are given in units reported for each parameter and include:
breaks_AQI
breaks_CO
breaks_NO2
breaks_OZONE_1hr
breaks_OZONE_8hr
breaks_PM2.5
breaks_PM10
Colors
Several different color palettes are provided:
colors_EPA
– official EPA AQI colorscolors_subdued
– subdued colors fo use with leaflet mapscolors_deuteranopia
– color vision impaired colors
Names
Names of AQI categories are provided in several languages identified by the ISO 639-2 alpha-3 code:
names_eng
names_spa
Actions
Text for "actions to protect yourself" are provided for each category in several languages identified by the ISO 639-2 alpha-3 code:
actions_eng
actions_spa
Currently supported languages include English (eng) and Spanish (spa).
AQI breaks are defined at https://www.airnow.gov/sites/default/files/2020-05/aqi-technical-assistance-document-sept2018.pdf and are given in units appropriate for each pollutant.
AQI colors are defined at https://docs.airnowapi.org/aq101
Note
The low end of each break category is used as the breakpoint.
Examples
print(US_AQI$breaks_AQI)
print(US_AQI$colors_EPA)
print(US_AQI$names_eng)
print(US_AQI$names_spa)