This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.Rmd
63 lines (41 loc) · 1.98 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# cumulocityr <img src='man/figures/logo.png' align="right" height="138" />
<!-- badges: start -->
[![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)
<!-- badges: end -->
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.