Building a web app on top of RChristian Mladenov, CEO
Why?
Adjusts parameters
Generates report
Reads report
Runs code
Requests changes
This happens quite often
Ad-hoc request
Develops analytics
code
Decision maker
Data scientist
Runs code Generates report
Adjusts parameters
Reads report Requests changes
Solution
Self-service analytics web apps
Decision makers get better insights, faster
Data scientists can focus on new knowledge
How?
Statistical languages
R solutions
RStudio Shiny
Custom web app (Python, Ruby, etc) Remote R: OpenCPU, rServe, rApache, httpuv
Integrated R: rJava, rpy2, RinRuby
Native (local or remote R) RGtk2, tcltk, Excel+VBA
Intuitics
ComparisonRStudio Shiny Intuitics
R framework + server. Server and interface built with code locally
Web platform. Stateless R functions, interface built with drag & drop
Cloud + on-premise Cloud + on-premise. REST API
Same development environment Code needs to be imported
Highly customizable Not only R (import/export)
Active community Long-running computations
Save and share app snapshots
Export, dashboards, recurring reports
RMarkdown integration
Demonstration
Background
FMCG company
Forecasting script in R with parameters: Country & product (build a model based on newest data)
2-month forecast: price, marketing budget, # of pages in catalog, competition strength
Monthly forecast cycle: many what-if scenario runs
Aim: turn the script into an interactive app
Steps
1. Split R script into functions to allow interactivity
2. Create interface that links functions
3. Share a snapshot with a colleague
Thank you! !!
Christian Mladenov [email protected]
!www.intuitics.com
@intuitics facebook.com/intuitics