Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

35 lines (19 loc) · 1.37 KB

aire: grab data on air pollution in Andalusia (Spain)

Build Status Coverage Status

A project from SevillaR.

This package can download and retrieve daily data on air quality in Andalusia (Spain), from any of the stations maintained by 'Consejeria de Medio Ambiente' (http://bit.ly/airedata). The data are formatted to be directly analysed with the openair package. Note these data are collected automatically and not validated. Check out Consejeria de Medio Ambiente website for monthly and annual reports based on validated data.

Installation

library(devtools)
install_github("SevillaR/aire")

Getting the data

mydata <- get_daily_data("2015-01-29", province = "se")

mydata <- get_daily_data(c("2015-01-29", "2015-01-30"), "se")

mydata <- get_daily_data(province = "se", from = "2015-01-20", to = "2015-01-25")

Examples