Working with air quality and meteorological data Exercises (Part-1)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Atmospheric air pollution is one of the most important environmental concerns in many countries around the world, and it is strongly affected by meteorological conditions. Accordingly, in this set of exercises we use openair
package to work and analyze air quality and meteorological data. This packages provides tools to directly import data from air quality measurement network across UK, as well as tools to analyse and producing reports. In this exercise set we will import and analyze data from MY1 station which is located in Marylebone Road in London, UK.
Answers to the exercises are available here.
Please install and load the package openair
before starting the exercises.
Exercise 1
Import the MY1 data for the year 2016 and save it into a dataframe called my1data.
Exercise 2
Get basic statistical summaries of myd1 dataframe.
Exercise 3
Calculate monthly means of:
a. pm10
b. pm2.5
b. nox
c. no
d. o3
Exercise 4
Calculate daily means of:
a. pm10
b. pm2.5
b. nox
c. no
d. o3
Exercise 5
calculate daily maximum of:
b. nox
c. no
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.