What is the data?

OpenAQ collects and aggregates air quality data from 114 government level and research-grade sources; the data is produced by 10,210 locations coming from 68 countries. The data is aggregated into a single location for their community to analyse and build technical solutions around.

Like with previous air quality data integrations, by making this data available for free on Streamr, it widens the audience viewing the data being collected by OpenAQ, and enables air quality based smart contract applications to be built with ease. It also allows visualisation of the data within canvases on the Streamr editor. Eventually, it is planned that other data streams will be onboarded that can be merged and cross analysed with this data (a real smart city solution!).

Where is the data?

The data can be found on the Marketplace (for free) here. This includes a separate stream for each country present (so check it out to see if your country of interest is available).

Data points arrive at the Streamr platform as soon as they are added to the OpenAQ platform (no polling on a time interval!). Some sensors generate a lot more data points than others (in other words, beware that some country streams or individual sensors might not have frequent data points).

How do I access it?

After subscribing to the data via the Marketplace link, you can either access the data directly or from within a canvas.

An example canvas accessing the data is available here. See the notes here, under the ‘how do I access it?’ section, for pointers on running a shared canvas; most importantly, save the canvas so that it becomes yours and you can edit it, and remember to hit start in either historical or real-time mode to start seeing data. (Note if duplicating the canvas to be your own, and then running in real-time, you wont see data points until the next sensor updates).

Alternatively, if you don’t have a Streamr account, you can still view the canvas here.

The below shows a screenshot of the canvas: