Rpollution
The goal of Rpollution is to assemble R functions to analyze air pollution data.
https://github.com/openvironment/Rpollution
Category: Natural Resources
Sub Category: Air Quality
Last synced: 7 minutes ago
JSON representation
Repository metadata
R functions to work with air pollution data
- Host: GitHub
- URL: https://github.com/openvironment/Rpollution
- Owner: openvironment
- License: mit
- Created: 2018-02-05T22:10:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-15T01:32:12.000Z (over 4 years ago)
- Last Synced: 2025-10-22T03:35:56.855Z (11 days ago)
- Language: HTML
- Size: 84 KB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 2
- Releases: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
message = FALSE
)
library(Rpollution)
```
# Rpollution
The goal of `Rpollution` is to assemble R functions to analyse air pollution data.
## Installation
You can install `Rpollution` from github with:
```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("openvironment/Rpollution")
```
## CETESB scraper
To scrape data from the CETESB qualar system, use the function `scraper_cetesb()`.
```{r example, eval = FALSE}
library(Rpollution)
scraper_cetesb(
parameter = 63,
station = 72,
start = "01/01/2018",
end = "31/01/2018",
login = "login",
password = "password"
)
```
To see a list of parameter and station IDs, use the objects `cetesb_param_ids` and `cetesb_station_ids`.
```{r}
cetesb_param_ids
```
```{r}
cetesb_station_ids
```
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.
Owner metadata
- Name: Openvironment
- Login: openvironment
- Email: thewilliam89@gmail.com
- Kind: organization
- Description: Grupo de pesquisa focado na análise de dados de poluição, meio ambiente e saúde pública.
- Website: https://www.astridproject.com/
- Location: Brazil
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/46464225?v=4
- Repositories: 2
- Last ynced at: 2025-01-05T07:56:53.673Z
- Profile URL: https://github.com/openvironment
GitHub Events
Total
Last Year
Committers metadata
Last synced: 1 day ago
Total Commits: 28
Total Committers: 2
Avg Commits per committer: 14.0
Development Distribution Score (DDS): 0.036
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| williamorim | t****9@g****m | 27 |
| Thiago Gomes Verissimo | v****v@g****m | 1 |
Issue and Pull Request metadata
Last synced: 25 days ago
Total issues: 1
Total pull requests: 3
Average time to close issues: 9 months
Average time to close pull requests: about 2 months
Total issue authors: 1
Total pull request authors: 2
Average comments per issue: 1.0
Average comments per pull request: 0.33
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- tribeiros (1)
Top Pull Request Authors
- beatrizmilz (2)
- thiagogomesverissimo (1)
Top Issue Labels
Top Pull Request Labels
Dependencies
- R >= 3.4.0 depends
- dplyr * imports
- fs * imports
- glue * imports
- httr * imports
- lubridate * imports
- magrittr * imports
- purrr * imports
- readr * imports
- rvest * imports
- stringr * imports
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
Score: 2.890371757896165