Download archives of the 24 hour averages of pollutants
Source:R/download_archives.R
download_24hr_average.RdData 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.
Examples
if (FALSE) { # \dontrun{
head(download_24hr_average("PS", 2017))
} # }