{"id":937,"name":"Rpollution","description":"The goal of Rpollution is to assemble R functions to analyze air pollution data.","url":"https://github.com/openvironment/Rpollution","last_synced_at":"2026-04-14T16:30:22.411Z","repository":{"id":52897793,"uuid":"120368325","full_name":"openvironment/Rpollution","owner":"openvironment","description":"R functions to work with air pollution data","archived":false,"fork":false,"pushed_at":"2021-04-15T01:32:12.000Z","size":86,"stargazers_count":7,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-24T00:40:13.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openvironment.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-05T22:10:06.000Z","updated_at":"2021-01-13T12:50:13.000Z","dependencies_parsed_at":"2022-08-23T08:50:07.272Z","dependency_job_id":null,"html_url":"https://github.com/openvironment/Rpollution","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openvironment/Rpollution","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openvironment","download_url":"https://codeload.github.com/openvironment/Rpollution/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31036728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T07:48:52.080Z","status":"ssl_error","status_checked_at":"2026-03-27T07:48:19.562Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"openvironment","name":"Openvironment","uuid":"46464225","kind":"organization","description":"Grupo de pesquisa focado na análise de dados de poluição, meio ambiente e saúde pública.","email":"thewilliam89@gmail.com","website":"https://www.astridproject.com/","location":"Brazil","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/46464225?v=4","repositories_count":2,"last_synced_at":"2025-01-05T07:56:53.673Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/openvironment","funding_links":[],"total_stars":9,"followers":0,"following":0,"created_at":"2025-01-05T07:56:53.770Z","updated_at":"2025-01-05T07:56:53.770Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openvironment","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openvironment/repositories"},"packages":[],"commits":{"id":1254493,"full_name":"openvironment/Rpollution","default_branch":"master","total_commits":28,"total_committers":2,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":14.0,"dds":0.0357142857142857,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-04-11T15:02:08.265Z","last_synced_commit":"34a1a3edb0af897d7f75c9d420e29c07bc627114","created_at":"2023-03-27T11:48:14.114Z","updated_at":"2026-04-11T15:02:08.230Z","committers":[{"name":"williamorim","email":"thewilliam89@gmail.com","login":"williamorim","count":27},{"name":"Thiago Gomes Verissimo","email":"verissimotgv@gmail.com","login":"thiagogomesverissimo","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-13T00:00:06.408Z","repositories_count":6212899,"commits_count":903834069,"contributors_count":34933035,"owners_count":1144061,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"openvironment/Rpollution","html_url":"https://github.com/openvironment/Rpollution","last_synced_at":"2026-03-23T06:02:06.195Z","status":"error","issues_count":1,"pull_requests_count":3,"avg_time_to_close_issue":23148697.0,"avg_time_to_close_pull_request":4927805.0,"issues_closed_count":1,"pull_requests_closed_count":1,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.3333333333333333,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:36:14.409Z","updated_at":"2026-03-23T06:02:06.195Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/openvironment%2FRpollution/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":1},"pull_request_author_associations_count":{"NONE":2,"CONTRIBUTOR":1},"issue_authors":{"tribeiros":1},"pull_request_authors":{"beatrizmilz":2,"thiagogomesverissimo":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:10.509Z","repositories_count":14207162,"issues_count":34660469,"pull_requests_count":113258760,"authors_count":11232439,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{},"last_year":{}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-08-23T08:50:06.977Z","updated_at":"2022-08-23T08:50:06.977Z","repository_link":"https://github.com/openvironment/Rpollution/blob/master/DESCRIPTION","dependencies":[{"id":2368480794,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.4.0","direct":true,"kind":"depends","optional":false},{"id":2368480795,"package_name":"httr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480796,"package_name":"rvest","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480797,"package_name":"magrittr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480798,"package_name":"dplyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480799,"package_name":"stringr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480800,"package_name":"purrr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480801,"package_name":"fs","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480802,"package_name":"glue","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480803,"package_name":"readr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480804,"package_name":"lubridate","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":2368480805,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2368480806,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2368480807,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":2.890371757896165,"created_at":"2023-09-11T11:54:36.401Z","updated_at":"2026-04-14T16:30:22.424Z","avatar_url":"https://github.com/openvironment.png","language":"HTML","category":"Natural Resources","sub_category":"Air Quality","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"---\noutput: github_document\n---\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  message = FALSE\n)\n\nlibrary(Rpollution)\n```\n\n# Rpollution \u003cimg src=\"man/figures/logo.png\" align=\"right\" width = \"15%\"\u003e\n\nThe goal of `Rpollution` is to assemble R functions to analyse air pollution data.\n\n## Installation\n\nYou can install `Rpollution` from github with:\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"openvironment/Rpollution\")\n```\n\n## CETESB scraper\n\nTo scrape data from the CETESB qualar system, use the function `scraper_cetesb()`.\n\n```{r example, eval = FALSE}\nlibrary(Rpollution)\n\nscraper_cetesb(\n  parameter = 63, \n  station = 72, \n  start = \"01/01/2018\", \n  end = \"31/01/2018\", \n  login = \"login\", \n  password = \"password\"\n)\n```\n\nTo see a list of parameter and station IDs, use the objects `cetesb_param_ids` and `cetesb_station_ids`.\n\n```{r}\ncetesb_param_ids\n```\n\n\n```{r}\ncetesb_station_ids\n```\n\n\nIf 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.\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/937","html_url":"https://ost.ecosyste.ms/projects/937"}