Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SoftwareAG/cumulocityr

R client for the Cumulocity API
https://github.com/SoftwareAG/cumulocityr

client cumulocity cumulocity-client cumulocity-iot iot-analytics r

Last synced: about 2 months ago
JSON representation

R client for the Cumulocity API

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# cumulocityr

[![CRAN status](https://www.r-pkg.org/badges/version/cumulocityr)](https://cran.r-project.org/package=cumulocityr)
[![Travis build status](https://travis-ci.org/SoftwareAG/cumulocityr.svg?branch=master)](https://travis-ci.org/SoftwareAG/cumulocityr)
[![Codecov test coverage](https://codecov.io/gh/SoftwareAG/cumulocityr/branch/master/graph/badge.svg)](https://codecov.io/gh/SoftwareAG/cumulocityr?branch=master)

R client for the Cumulocity API.

## Installation

You can install the released version of cumulocityr from [CRAN](https://CRAN.R-project.org/package=cumulocityr) with:

``` r
install.packages("cumulocityr")
```

You can install the development version from GitHub with devtools:

``` r
# install.packages("devtools)
devtools::install_github("SoftwareAG/cumulocityr")
```

## Example

```{r example, eval = FALSE}
library(cumulocityr)

devices <- get_devices()

measurements <- get_measurements(device_id = 1234,
date_from = "2019-09-30T20:00:00Z")

events <- get_events(device_id = 1234,
date_from = "2019-09-30T20:00:00Z")

```

---
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/SoftwareAG/cumulocityr/blob/master/.github/CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.

These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.