Compare two cities
compare_citiesSide-by-side historical records for two US cities with the difference in Clean Air Score and PM2.5. Warnings list any copied record. 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_a | Yes | ||
| city_b | Yes | ||
| state_a | Yes | Two-letter state code. | |
| state_b | Yes | Two-letter state code. |