aqs_sample_data_by_county
Retrieve air quality sample measurements from all monitoring sites in a specified county using EPA's Air Quality System data. Filter by pollutant, date range, state, and county codes to analyze pollution levels.
Instructions
Get raw sample data for all monitoring sites in a county. WARNING: Sample data can be very large. Strongly recommend limiting date ranges to one week or one month. Returns individual sample measurements from all sites in the specified county.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for API authentication. Optional if AQS_EMAIL environment variable is set. | ||
| key | No | API key for authentication. Optional if AQS_API_KEY environment variable is set. | |
| param | Yes | Parameter code (e.g., 44201 for Ozone, 88101 for PM2.5, 42401 for SO2, 42101 for CO, 42602 for NO2, 81102 for PM10). | |
| 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. | |
| state | Yes | Two-digit FIPS state code (e.g., "06" for California, "36" for New York). | |
| county | Yes | Three-digit FIPS county code (e.g., "037" for Los Angeles County). |