https://github.com/52north/sos4r

R client for the OGC Sensor Observation Service

https://github.com/52north/sos4r

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (19.0%) to scientific vocabulary

Keywords

ogc ogc-sos ogc-swe r r-package rstats sensorobservationservice sensorweb
Last synced: 5 months ago · JSON representation

Repository

R client for the OGC Sensor Observation Service

Basic Info
Statistics
  • Stars: 13
  • Watchers: 11
  • Forks: 12
  • Open Issues: 49
  • Releases: 5
Archived
Topics
ogc ogc-sos ogc-swe r r-package rstats sensorobservationservice sensorweb
Created over 12 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
  #fig.path = "man/figures/"
)
```

# sos4R


[![cran checks](https://cranchecks.info/badges/summary/sos4R)](https://cran.r-project.org/web/checks/check_results_sos4R.html) [![Build Status](https://travis-ci.org/52North/sos4R.png)](https://travis-ci.org/52North/sos4R)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/52North/sos4R?branch=master&svg=true)](https://ci.appveyor.com/project/52North/sos4R)
[![CircleCI build status](https://circleci.com/gh/52North/sos4R.svg?style=svg)](https://circleci.com/gh/52North/sos4R)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Launch Rstudio Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/52North/sos4R/master?urlpath=rstudio)


## Description

### R client for OGC SOS

**Easing the access to environmental time series data from an OGC Sensor Observation Service**

sos4R is an extension package of the R environment for statistical computing and visualization.
sos4R is [available on CRAN](https://CRAN.R-project.org/package=sos4R).
The user can use it to query data from standardized SOS instances (with specific consideration of the OGC SOS 2.0 Hydrology Profile) using simple R function calls.
It provides a convenience layer for R users to integrate observation data from SOS servers compliant with the SOS standard without any knowledge about the underlying OGC Sensor Web Enablement standards.

### Features

**Key Technologies**

- R Programming Language
- OGC Sensor Observation Service 2.0
- OGC WaterML 2.0
- OGC Observations and Measurements 2.0

**Benefits**

- Easier access to environmental time series data
- Automatic generation of SOS requests
- Result handling and parsing into standard R objects
- Convenience API: Data Science oriented functions to load data

## Quick start

```{r quickstart, eval = FALSE}
install.packages("sos4R")
library("sos4R")

# connect to SOS and request metadata
mySos <- SOS(url = "http://sensorweb.demo.52north.org/sensorwebtestbed/sos",
             binding = "KVP", useDCPs = FALSE, version = "2.0.0")

# retrieve available phenomena and sites
phenomena <- phenomena(sos = mySos, includeSiteId = TRUE, includeTemporalBBox = TRUE)
phenomena
siteList(sos = mySos)

# retrieve data
getData(sos = mySos,
        phenomena = phenomena[5,1],
        sites = phenomena[5,2],
        begin = as.POSIXct("2018-01-01"),
        end =   as.POSIXct("2018-01-3"))
```

**Install the development version**

You can install the current development version (= the next release for CRAN) directly from GitHub:

```{r install_dev, eval = FALSE}
#install.packages("remotes")
remotes::install_github("52North/sos4R", ref = "dev")
```

## User guide

The project website is at [https://52north.github.io/sos4R](https://52north.github.io/sos4R).
You can also join the chat at [on Gitter](https://gitter.im/52North/sos4R) if you have any questions.

## Demo

sos4R can used to download observation data or build user interfaces for requesting and rendering time series observations.
The screenshot below shows a demo Shiny application, which you can run locally with

```{r demo, eval=FALSE}
shiny::runApp(appDir = file.path(path.package("sos4R"), "shiny"))
```

![sos4R Shiny app](https://blog.52north.org/wp-content/uploads/sites/2/2020/04/sos4r-vignette-10-egu-2020_shiny-app.jpg)

## Changelog

The latest changes, updates, bug fixes can be found in the package changelog at [https://52north.github.io/sos4R/news/](https://52north.github.io/sos4R/news/).

## References

sos4R is used in the following projects. 
    
- MuDak-WRM, https://www.mudak-wrm.kit.edu/
- NIWA, https://niwa.co.nz/ (NIWA presented the project results at a dedicated [workshop at the FOSS4G SOTM Oceania 2019](https://2019.foss4g-oceania.org/schedule/2019-11-12?sessionId=NNWXKL))

## Credits

- [\@nuest](https://github.com/nuest)
- [\@edzer](https://github.com/edzer)
- [\@BenGraeler](https://github.com/BenGraeler)
- [\@bpross-52n](https://github.com/bpross-52n)
- [\@EHJ-52n](https://github.com/EHJ-52n)

## Contribute

See file `DEV-README.md` for developer documentation or read the developer documentation online at [https://52north.github.io/sos4R/DEV-README.html](https://52north.github.io/sos4R/DEV-README.html).

## License

This R extension package is licensed under [GPL v2.0](https://tldrlegal.com/license/gnu-general-public-license-v2).

Documentation (e.g. vignette) is published under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/).

sos4R is a project of [52°North Initiative for Geospatial Open Source Software](https://52north.org).

Owner

  • Name: 52°North Spatial Information Research GmbH
  • Login: 52North
  • Kind: organization
  • Email: info@52north.org
  • Location: Münster

Advancing spatial information infrastructures to foster open science

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 158
  • Total pull requests: 30
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: about 2 months
  • Total issue authors: 6
  • Total pull request authors: 7
  • Average comments per issue: 1.58
  • Average comments per pull request: 1.87
  • Merged pull requests: 22
  • 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
  • nuest (51)
  • EHJ-52n (30)
  • edzer (1)
  • PranaGeo (1)
  • oggioniale (1)
  • jensmeyerjuergens (1)
Pull Request Authors
  • nuest (5)
  • EHJ-52n (3)
  • BenGraeler (2)
  • PranaGeo (2)
  • gitter-badger (1)
  • staschc (1)
  • edzer (1)
Top Labels
Issue Labels
enhancement (39) bug (13) documentation (13) priority medium (8) priority high (5) good-first-issue (2) wontfix (1) ready (1)
Pull Request Labels
enhancement (3) in progress (2) bug (1) documentation (1)

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • dplyr * imports
  • httr * imports
  • methods * imports
  • parsedate * imports
  • sp * imports
  • stats * imports
  • stringr * imports
  • uuid * imports
  • xml2 >= 1.2.2 imports
  • clipr * suggests
  • kableExtra * suggests
  • knitr * suggests
  • leaflet * suggests
  • leafpop * suggests
  • mapdata * suggests
  • maps * suggests
  • maptools * suggests
  • mapview * suggests
  • readr * suggests
  • rgdal * suggests
  • rmarkdown * suggests
  • skimr * suggests
  • spacetime * suggests
  • testthat * suggests
  • units * suggests
  • webmockr * suggests
  • xts * suggests
docs/articles/sos4R-vignette-05-wrapper-functions_files/leaflet-providers-1.1.17/package.json npm
  • chai ^4.1.2 development
  • eslint ^3.16.1 development
  • eslint-plugin-html ^2.0.1 development
  • mocha ^3.2.0 development
  • mocha-phantomjs-core ^2.1.1 development
  • mversion ^1.10.1 development
  • phantomjs-prebuilt ^2.1.16 development
  • uglify-js ^2.4.15 development
.binder/Dockerfile docker
  • rocker/binder 3.6.2 build
docker/Dockerfile docker
  • rocker/geospatial latest build