A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

ropenaq

A community of scientists, software developers and lovers of open environmental data who are building an open, real-time database that provides programmatic and historical access to air quality data.
https://github.com/ropensci-archive/ropenaq

Keywords

air air-pollution air-pollution-levels air-quality openaq openaq-api openaq-data peer-reviewed r r-package rstats

Last synced: over 1 year ago
JSON representation

Acceptance Criteria

Repository metadata

:no_entry: ARCHIVED :no_entry: Accesses Air Quality Data from the Open Data Platform OpenAQ

README-NOT.md

ropenaq

Access OpenAQ global and open air quality data

R build status
codecov.io
rOpenSci peer-review
CRAN

Introduction

This R package is aimed at accessing the OpenAQ API. OpenAQ is a community of scientists, software developers, and lovers of open environmental data who are building an open, real-time database that provides programmatic and historical access to air quality data. See their website at https://openaq.org/ and see the API documentation at https://docs.openaq.org/. The package contains 5 functions that correspond to the 5 different types of query offered by the openaq API: cities, countries, latest, locations and measurements. The package uses the dplyr package: all output tables are tibble objects, that can be further processed and analysed.

Check out this blog post about OpenAQ.

More details about the package can be found in the articles, in particular the introductory articles.

Via the API since November 2017 the API only provides access to the latest 90 days of OpenAQ data. The whole OpenAQ data can be accessed via Amazon S3. See this announcement. You can interact with Amazon S3 using the aws.s3 package and the maintainer of ropenaq plans to write tutorials about how to access OpenAQ data and will also keep the documentation of ropenaq up-to-date regarding data access changes.

Installation

Install the package with:

install.packages("ropenaq")

Or install the development version:

# install.packages("remotes")
remotes::install_github("ropensci/ropenaq")

If you experience trouble using the package on a Linux machine, please run

url::curl_version()$ssl_version

If it answers GnuTLS, run

apt-get install libcurl4-openssl-dev

And uninstall then re-install curl.

install.packages("curl")

If it still doesn't work, please open a new issue!

Meta

  • Please report any issues or bugs.
  • License: GPL
  • Get citation information for ropenaq in R doing citation(package = 'ropenaq')
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

ropensci_footer


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: over 1 year ago

Total Commits: 421
Total Committers: 7
Avg Commits per committer: 60.143
Development Distribution Score (DDS): 0.04

Commits in past year: 1
Committers in past year: 1
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
masalmon m****n@y****e 404
Mikayla Murphy m****a@m****u 11
Hadley Wickham h****m@g****m 2
Jeroen Ooms j****s@g****m 1
Karthik Ram k****m@g****m 1
Scott Chamberlain m****s@g****m 1
rOpenSci Bot m****t@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: over 1 year ago

Total issues: 50
Total pull requests: 12
Average time to close issues: 8 months
Average time to close pull requests: 5 months
Total issue authors: 6
Total pull request authors: 6
Average comments per issue: 2.86
Average comments per pull request: 1.42
Merged pull request: 7
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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ropensci-archive/ropenaq

Top Issue Authors

  • maelle (43)
  • birgitfullerton (2)
  • Ljinghua (2)
  • dirkschumacher (1)
  • dolugen (1)
  • ellisp (1)

Top Pull Request Authors

  • maelle (6)
  • mikaylamurphy (2)
  • hadley (1)
  • sckott (1)
  • RobinKohrs (1)
  • karthik (1)

Top Issue Labels

  • enhancement (12)
  • Beginner (3)
  • hacktoberfest (3)
  • bug (3)
  • API-issue (2)
  • Intermediate (1)
  • help wanted (1)
  • question (1)

Top Pull Request Labels


Dependencies

DESCRIPTION cran
  • crul * imports
  • dplyr * imports
  • jsonlite * imports
  • lubridate * imports
  • magrittr * imports
  • rlang * imports
  • tidyr * imports
  • ggplot2 * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • rworldmap * suggests
  • testthat >= 2.1.0 suggests
  • vcr >= 0.5.0 suggests
  • viridis * suggests
  • webmockr >= 0.6.2 suggests

Score: 6.180016653652573