Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 4 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Keywords
Repository
R client for opensensemap.org
Basic Info
- Host: GitHub
- Owner: sensebox
- Language: R
- Default Branch: master
- Homepage: https://noerw.github.io/opensensmapR/inst/doc/osem-history
- Size: 7.47 MB
Statistics
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 7
- Releases: 0
Topics
Metadata Files
README.md
opensensmapr
This R package ingests data from the API of opensensemap.org for analysis in R.
Features include:
osem_boxes(): fetch sensor station ("box") metadata, with various filtersosem_measurements(): fetch measurements by phenomenon, with various filters such as submitting spatial extent, time range, sensor type, box, exposure..- no time frame limitation through request paging!
- many helper functions to help understand the queried data
- caching queries for reproducibility
The package aims to be compatible with the tidyverse and sf,
so it is easy to analyze or vizualize the data with state of the art packages.
Usage
Complete documentation is provided via the R help system:
Each function's documentation can be viewed with ?<function-name>.
A comprehensive overview of all functions is given in ?opensensmapr.
There are also vignettes showcasing applications of this package:
- Visualising the History of openSenseMap.org: Showcase of
opensensmaprwithdplyr+ggplot2 - Exploring the openSenseMap dataset: Showcase of included helper functions
- Caching openSenseMap Data for reproducibility
If you used this package for an analysis and think it could serve as a good example or showcase, feel free to add a vignette to the package via a PR!
Installation
The package is available on CRAN, install it via
r
install.packages('opensensmapr')
To install the very latest versions from GitHub, run:
r
install.packages('devtools')
devtools::install_github('sensebox/opensensmapr@master') # latest stable version
devtools::install_github('sensebox/opensensmapr@development') # bleeding edge version
Changelog
This project adheres to semantic versioning, for changes in recent versions please consult NEWS.md.
Contributing & Development
Contributions are very welcome!
When submitting a patch, please follow the existing code stlye,
and run R CMD check --no-vignettes . on the package.
Where feasible, also add tests for the added / changed functionality in tests/testthat.
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.
development environment
To set up the development environment for testing and checking, all suggested packages should be installed. On linux, these require some system dependencies: ```sh
install dependencies for sf (see https://github.com/r-spatial/sf#installing)
sudo dnf install gdal-devel proj-devel proj-epsg proj-nad geos-devel udunits2-devel
install suggested packages
R -e "install.packages(c('maps', 'maptools', 'tibble', 'rgeos', 'sf', 'knitr', 'rmarkdown', 'lubridate', 'units', 'jsonlite', 'ggplot2', 'zoo', 'lintr', 'testthat', 'covr')" ```
build
To build the package, either use devtools::build() or run
sh
R CMD build .
Next, run the tests and checks: ```sh R CMD check --as-cran ../opensensmapr_*.tar.gz
alternatively, if you're in a hurry:
R CMD check --no-vignettes ../opensensmapr_*.tar.gz ```
release
To create a release:
- make sure you are on master branch
- run the tests and checks as described above
- bump the version in
DESCRIPTION - update
NEWS.md - rebuild the documentation:
R -e 'devtools::document()' - build the package again with the new version:
R CMD build . --no-build-vignettes - tag the commit with the new version:
git tag v0.5.0 - push changes:
git push && git push --tags - wait for all CI tests to complete successfully (helps in the next step)
- upload the new release to CRAN
- get back to the enjoyable parts of your life & hope you won't get bad mail next week.
License
GPL-2.0 - Norwin Roosen
Owner
- Name: senseBox
- Login: sensebox
- Kind: organization
- Email: support@sensebox.de
- Location: Münster, Germany
- Website: https://www.sensebox.de
- Twitter: sensebox_de
- Repositories: 119
- Profile: https://github.com/sensebox
The senseBox is a Citizen Science DIY Toolbox for schools and citizens.
GitHub Events
Total
Last Year
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| noerw | n****w@g****e | 57 |
| jan | j****7@u****e | 52 |
| Norwin Roosen | g****b@n****e | 51 |
| nuest | d****t@u****e | 15 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 27
- Total pull requests: 4
- Average time to close issues: about 2 months
- Average time to close pull requests: about 8 hours
- Total issue authors: 4
- Total pull request authors: 3
- Average comments per issue: 0.96
- Average comments per pull request: 1.5
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- noerw (16)
- nuest (9)
- edzer (1)
Pull Request Authors
- noerw (2)
- jsten07 (1)
- nuest (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 182 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: opensensmapr
Client for the Data API of 'openSenseMap.org'
- Homepage: https://github.com/sensebox/opensensmapR
- Documentation: http://cran.r-project.org/web/packages/opensensmapr/opensensmapr.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
- Status: removed
-
Latest release: 0.6.0
published almost 3 years ago