qlik-oss / sse-r-plugin

A Qlik server-side extension plugin for accessing R.
MIT License
66 stars 73 forks source link

How to add script to qlik sense #46

Open gosushade opened 5 years ago

gosushade commented 5 years ago

Hello! Please help! How to add this script to qlik line chart: library(prophet) df<-read.csv2("pass.csv", as.is = TRUE) m <- prophet(df, yearly.seasonality=T, seasonality.mode="multiplicative") future <- make_future_dataframe(m, periods = 30) forecast <- predict(m, future) plot(m, forecast) prophet_plot_components(m, forecast)

tobiaslindulf commented 5 years ago

Thank you for your question. The primary use case for Server Side Extension is that Qlik Sense/Qlikview sends data based on selections to the SSE r plugin and then the R plugin sends back calculated data to Qlik. The intention is not really to send the result from a plot function back to Qlik. Maybe you are just looking for the same use case as the mentioned R script and I think the example apps in this repo is explaining that. If you need more assistance then you can also ask the community in the following slack channel: https://qlik-branch.slack.com/messages/C2J190P5M