download_24hr_average: Download archives of the 24 hour averages of pollutants

Description Usage Arguments Value Examples

Description

Data comes from Promedios de 24 horas de partículas suspendidas(PM10 Y PM2.5) and Promedios de 24 horas de Dióxido azufre

Usage

1
download_24hr_average(type, year, progress = interactive())

Arguments

type

type of data to download.

  • "SO2" - Sulfur Dioxide (parts per billion)

  • "PS" - Suspended solids

year

a numeric vector containing the years for which to download data (the earliest possible value is 1986 for SO2 and 1995 for PS)

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 data.

Examples

1
2
3
4
## Not run: 
head(download_24hr_average("PS", 2017))

## End(Not run)

aire.zmvm documentation built on May 2, 2019, 2:07 a.m.