Description Usage Arguments Value Examples
View source: R/scraper_cetesb.R
Scraper CETESB
1 2 |
station |
A numeric value indicating the station id from where you wish to get the data. See Rpollution::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. |
login |
A string with your login on Qualar system. |
password |
A string with your passoword on Qualar system. |
safe |
If FALSE (default) the function will return a error if it can't extract the requested data. |
file |
A string containing a path to a .rds file where the data will be written. If NULL (default) the data will be return. |
parameters |
A numeric vector of maximum length equal to 3 indicating the ids of the parameters you want to get the data from. See Rpollution::cetesb_param_ids. |
A tibble with the data returned by the Qualar system.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Ozone for 'Dom Pedro II' station for January 2018.
scraper_cetesb(station = 72, parameter = 63,
start = "01/01/2018", end = "31/01/2018",
login = "login", password = "password")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.