Get city air quality record
get_city_air_qualityHistorical Clean Air Score, grade, latest annual PM2.5 mean, unhealthy-day share, trend and yearly PM2.5 for one US city. Each city is either an own_record (scored from its own data) or a copied_record (the full record of the nearest scored city, named in source_city, source_state and source_distance_miles). A copied_record describes the source city, not measurements taken in the named city. Values are historical annual data, not the current AQI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, for example "Phoenix". | |
| state | Yes | Two-letter state code, for example "AZ". |