You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
The goal of `koffing` is to assemble R functions to catch (scrape) air pollution data. `koffing` is from the same creator of the blog [Rpollution](https://rpollution.com). Newer versions of this scraper can be found [here](https://github.com/williamorim/rpollution).
## Installation
You can install `koffing` from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("atmoschem/koffing")
```
## CETESB scraper
To scrape data from the CETESB qualar system, use the function `scraper_cetesb()`.
```{r example, eval = FALSE}
library(koffing)
koffing::scraper_cetesb(
parameter = 17,
station = 99,
start = "01/01/2018",
end = "31/01/2018",
login = "login",
password = "password"
)
```
If you substitute the values `login` and `password` by your login and password from the Qualar system, this example will return the hourly NO concentrations from the Pinheiros station for January 2018.