aqs_annual_summary_by_cbsa
Retrieve annual air quality statistics for metropolitan areas, including pollutant means, percentiles, and NAAQS compliance metrics, to analyze regional pollution trends and regulatory adherence.
Instructions
Get annual summary data for all monitoring sites within a Core Based Statistical Area (CBSA), which represents metropolitan and micropolitan statistical areas. Annual summaries include yearly statistics such as arithmetic mean, standard deviation, maximum values, percentiles (10th through 99th), observation counts, data completeness metrics, and exceedance counts for primary and secondary NAAQS standards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address registered with the AQS API. If not provided, uses AQS_EMAIL environment variable. | ||
| key | No | API key for AQS access. If not provided, uses AQS_API_KEY environment variable. | |
| param | Yes | Parameter code for the pollutant (e.g., "44201" for Ozone, "88101" for PM2.5, "42401" for SO2, "42101" for CO, "42602" for NO2, "81102" for PM10). Up to 5 comma-separated codes allowed. | |
| bdate | Yes | Begin date in YYYYMMDD format. Must be in the same calendar year as edate. | |
| edate | Yes | End date in YYYYMMDD format. Must be in the same calendar year as bdate. | |
| cbsa | Yes | Core Based Statistical Area code (e.g., "31080" for Los Angeles-Long Beach-Anaheim). |