air_pollutant_history
Hourly readings of one pollutant at one Defra UK-AIR monitor over a period of 1 to 168 hours (7 days): up to 100 hourly rows are shown (the latest), while the minimum, maximum, mean, peak hour and daily means cover the whole period. For evidence and comparisons: councillors, campaigners, schools, journalists and researchers asking "when was pollution highest this week". Takes a timeseries_id or station_id from the other air quality tools. Data are provisional; this is not the ratified long-term archive. (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | string, optional, end of the period as YYYY-MM-DD (end of that day, UTC) or YYYY-MM-DDTHH:MMZ, default the current hour | |
| hours | No | integer, optional, hours of history ending at end, default 24, max 168 | |
| station_id | No | integer, required unless timeseries_id is given, UK-AIR station id (one pollutant at one site, from air_quality_stations_near) | |
| timeseries_id | No | integer, required unless station_id is given, UK-AIR timeseries id (from a *_level_near result) |