download_pollution {aire.zmvm}R Documentation

Download Pollution Archives

Description

Download the pollution files available at Contaminante

Usage

download_pollution(year, progress = interactive())

Arguments

year

a numeric vector containing the years for which to download data (the earliest possible value is 2009)

progress

whether to display a progress bar (TRUE or FALSE). By default it will only display in an interactive session.

Value

a data.frame with pollution information for the following pollutants "CO", "NO", "NO2", "NOX", "O3", "PM10", "SO2", "PM25", and "PMCO"

Examples

## Not run: 
head(download_pollution(2017))

## End(Not run)

[Package aire.zmvm version 0.9.0 Index]