scraper_cetesb.Rd
Scraper CETESB
scraper_cetesb(station, parameter, start, end, type = "P", login, password, invalidData = "on", network = "A")
station | A numeric value indicating the station id from where you wish to get the data. See koffing::cetesb_station_ids. |
---|---|
parameter | A numeric value indicating the CETESB parameter id. See koffing::cetesb_station_ids. |
start | A string in the format "dd/mm/aaaa" representing the initial day for the data selection. |
end | A string in the format "dd/mm/aaaa" representing the final day for the data selection. |
type | Type of data: "P" for hourly mean or "M" for moving average. |
login | A string with your login on Qualar system. |
password | A string with your passoword on Qualar system. |
invalidData | If TRUE, the system will return rows with invalid data. |
network | Network type: "A" for automatic or "M" for manual. |
A tibble with the data returned by the Qualar system.
# NOT RUN { # Ozone for 'Dom Pedro II' station from 01/01/2018 to 31/01/2018. scraper_cetesb(station = 72, parameter = 63, start = "01/01/2018", end = "31/01/2018", login = "my_login", password = "my_password") # }