Skip to content
R functions to work with air pollution data
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
docs
man
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.Rmd
README.md
Rpollution.Rproj

README.md

Rpollution

The goal of Rpollution is to assemble R functions to analyse air pollution data.

Installation

You can install Rpollution from github with:

# install.packages("remotes")
remotes::install_github("williamorim/Rpollution")

CETESB scraper

To scrape data from the CETESB qualar system, use the function scraper_cetesb().

library(Rpollution)

scraper_cetesb(
  parameter = 99, 
  station = 17, 
  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.

You can’t perform that action at this time.