skip to the main content area of this page

The openair project » Examples of usage » Importing Data

Open Air Plume openair has two functions for importing data from UK air pollution monitoring sites – importAURN and importKCL.

marylebone = importAURN(site = 'my1', year = 2000:2002)
## view first few lines
head(marylebone)

  date co pm10 no no2 nox o3 pm2.5 so2 ws site code
1 2000-01-01 00:00:00 2.6 55 203 78 388 2 33 16 0.9 London Marylebone Road MY1
2 2000-01-01 01:00:00 8.4 96 525 84 886 4 62 35 0.9 London Marylebone Road MY1
3 2000-01-01 02:00:00 7.4 91 458 117 816 4 62 32 1.0 London Marylebone Road MY1
4 2000-01-01 03:00:00 4.5 73 353 97 636 0 47 24 1.0 London Marylebone Road MY1
5 2000-01-01 04:00:00 3.4 55 268 74 483 0 36 19 1.0 London Marylebone Road MY1
6 2000-01-01 05:00:00 1.9 31 109 65 231 0 19 11 0.9 London Marylebone Road MY1