Skip to content

DisyInformationssysteme/cadenza-analytics-r

Repository files navigation

Cadenza Analytics R

CadenzaAnalytics is the official package for fast and easy creation of disy Cadenza analytics extensions with R. It enables extending disy Cadenza with advanced analytics using R.

This package is in beta status: it can be used for testing, but there may be breaking changes before a full release.

Find the docs at https://disyinformationssysteme.github.io/cadenza-analytics-r

Dependencies

Core dependencies:

System dependencies of used r-packages:

Build time dependencies:

RStudio provides the most common development environment for R: https://posit.co/download/rstudio-desktop/

Installation and Setup

You can install this package by running

devtools::install_github("https://github.com/DisyInformationssysteme/cadenza-analytics-r")

Once installed, include the package as you normally would:

Create and deploy Analytics Extensions

To generate demo code that you can tweak and build your own extension on, simply run:

CadenzaAnalytics::create_analytics_extension()

CadenzaAnalytics uses swagger and plumber in tandem to enable users to host their own analytics extensions.

Update the API documentation

In an R-session run roxygen2 and pkgdown:

roxygen2::roxygenize()
pkgdown::build_site()

Defining an Analytics Extension

Details and examples about defining analytics extension for disy Cadenza with R are described in vignette("CadenzaAnalytics").

Using the Analytics extension

Add the URL https://host:port/the-route/endpoint-name as analytics extension.

  • host:port are by default 127.0.0.1:9292
  • /the-route is the route chosen in mounting the script file on root
  • /endpoint-name is the endpoint defined in GetCapabilities

About

Create a Cadenza Analytics Extension with R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages