View source: R/download_archives.R
download_pollution | R Documentation |
Download the pollution files available at Contaminante
download_pollution(year, progress = interactive())
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. |
a data.frame with pollution information for the following pollutants "CO", "NO", "NO2", "NOX", "O3", "PM10", "SO2", "PM25", and "PMCO"
## Not run:
head(download_pollution(2017))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.