download_pollution: Download Pollution Archives

View source: R/download_archives.R

download_pollutionR 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)

diegovalle/aire.zmvm documentation built on Feb. 16, 2024, 1:14 p.m.