@@ -15,16 +15,16 @@ as their original values and different levels of aggregation.
15
15
In addition to providing raw measurement values as reported by providers, the
16
16
API provides options for rolling up data into different aggregation periods.
17
17
18
- ### Resources
18
+ ## Resources
19
19
20
- #### Measurements
20
+ ### Measurements
21
21
22
22
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements `
23
23
24
- The ` measurements ` resource represents the original measurement value as
24
+ The ` measurements ` resource is the original measurement value as
25
25
reported by the upstream source.
26
26
27
- #### Hours
27
+ ### Hours
28
28
29
29
` https://api.openaq.org/v3/sensors/{sensors_id}/hours `
30
30
@@ -36,18 +36,18 @@ The `hours` resource is the hourly average (mean) value of measurements.
36
36
` measurements ` resource are equivalent.
37
37
</Aside >
38
38
39
- #### Days
39
+ ### Days
40
40
41
41
` https://api.openaq.org/v3/sensors/{sensors_id}/days `
42
42
43
- The days resource is the daily average (mean), computed from the hourly average
43
+ The ` days ` resource is the daily average (mean), computed from the hourly average
44
44
values from 01:00 to 0:00 in local time.
45
45
46
- #### Years
46
+ ### Years
47
47
48
48
` https://api.openaq.org/v3/sensors/{sensors_id}/years `
49
49
50
- The years resource is the yearly average (mean), computed from the hourly
50
+ The ` years ` resource is the yearly average (mean), computed from the hourly
51
51
average values from January 01 at 01:00 to December 31 0:00 in local time.
52
52
53
53
### Aggregation Periods
@@ -61,7 +61,7 @@ For most reliable results, limit queries to smaller time periods using the `date
61
61
` date_to ` query parameters.
62
62
</Aside >
63
63
64
- #### Hourly
64
+ ### Hourly
65
65
66
66
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/hourly `
67
67
@@ -74,7 +74,7 @@ the selected time range.
74
74
preferred resource.
75
75
</Aside >
76
76
77
- #### Daily
77
+ ### Daily
78
78
79
79
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/daily `
80
80
@@ -89,7 +89,7 @@ selected time range.
89
89
resource.
90
90
</Aside >
91
91
92
- #### Monthly
92
+ ### Monthly
93
93
94
94
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/monthly `
95
95
@@ -100,7 +100,7 @@ selected time range.
100
100
The ` monthly ` aggregator returns the average (mean) value for each month across
101
101
the selected time range.
102
102
103
- #### Yearly
103
+ ### Yearly
104
104
105
105
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/yearly `
106
106
@@ -117,7 +117,7 @@ the selected time range.
117
117
resource.
118
118
</Aside >
119
119
120
- #### Hour of day
120
+ ### Hour of day
121
121
122
122
` https://api.openaq.org/v3/sensors/{sensors_id}/hours/hourofday `
123
123
@@ -126,7 +126,7 @@ The `hourofday` aggregator returns the average (mean) value for each hour in a
126
126
trends on an hourly basis, offering insights into daily patterns and peak
127
127
pollution times, such as diurnal patterns.
128
128
129
- #### Day of week
129
+ ### Day of week
130
130
131
131
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/dayofweek `
132
132
@@ -137,7 +137,7 @@ week (Monday-Sunday), across the selected time range. This allows analyzing air
137
137
quality trends on an daily basis, offering insights into daily patterns and peak
138
138
pollution days.
139
139
140
- #### Month of year
140
+ ### Month of year
141
141
142
142
` https://api.openaq.org/v3/sensors/{sensors_id}/measurements/monthofyear `
143
143
@@ -150,9 +150,9 @@ a year (January-December), across the selected time range. This allows analyzing
150
150
air quality trends on an monthly basis, offering insights into seasonal
151
151
patterns.
152
152
153
- ### Response details
153
+ ## Response details
154
154
155
- #### Summary
155
+ ### Summary
156
156
157
157
The summary object provides summary statistics about a aggregated measurement
158
158
value. The object includes the minimum and maximum values, quartile values
@@ -174,7 +174,7 @@ null.
174
174
}
175
175
```
176
176
177
- #### Coverage
177
+ ### Coverage
178
178
179
179
The coverage object provides information on the coverage of measurements when
180
180
aggregating values over time. When requesting ` measuremements ` this field is
@@ -200,7 +200,7 @@ of 100.
200
200
}
201
201
```
202
202
203
- ## Key fields:
203
+ ## Key fields
204
204
205
205
- value - The average (mean) value in aggregate, except in the ` measurements `
206
206
resource ` value ` is the original reported measurement value.
0 commit comments