Description Usage Arguments Value See Also Examples
As described in Air Quality 101, the AQI is divided into a number of categories that indicate the potential health impacts of air conditions. For example, a value of 23 corresponds to "Good", and is displayed with a green color.
aqi_category
translates a given AQI number to it's category descriptor.
aqi_category_number
TODO
aqi_category_color
TODO
1 2 3 4 5 | aqi_category(aqi)
aqi_category_number(aqi)
aqi_category_color(aqi)
|
aqi |
A numeric Air Quality Index (AQI) value |
aqi_category
returns a string with the AQI Category Descriptor
aqi_category_number
returns a numeric value 1-6 indicating the corresponding AQI category number
aqi_category_color
returns a string containing the hexidecimal color code associated with the corresponding AQI category number (e.g., #00E400
for "Good)
1 2 3 | aqi_category(23)
aqi_category_number(123)
aqi_category_color(23?a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.