download_24hr_average: Download archives of the 24 hour averages of pollutants

View source: R/download_archives.R

download_24hr_averageR Documentation

Download archives of the 24 hour averages of pollutants

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

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

## Not run: 
head(download_24hr_average("PS", 2017))

## End(Not run)

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