Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

A. Glossary

Dolugen Buuralda edited this page Jul 2, 2017 · 2 revisions

Source

A source refers to a single data source like an API endpoint, or a page with an HTML table. Sources can contain measurements for more than one location.

Station

A station refers to a single measuring station. For each station, the following may be captured:

  • country - the 2-letter ISO 3166 code of the country
  • city - the city the station is in
  • location - a human readable description of the location. Might be a street name, or neighborhood name.
  • coordinates - latitude and longitude of the station

Measurement

The measurement is the most granular unit in the system. It contains a value for a particular parameter, from a station.

{
    "location": "Amsterdam-Einsteinweg",
    "parameter": "pm25",
    "date": {
        "utc": "2017-07-02T11:00:00.000Z",
        "local": "2017-07-02T13:00:00+02:00"
    },
    "value": 8.333333333333334,
    "unit": "µg/m³",
    "coordinates": {
        "latitude": 52.3813,
        "longitude": 4.84523
    },
    "country": "NL",
    "city": "Amsterdam"
}
Clone this wiki locally