marek rogala's talk at user2017 on shiny.collections
TRANSCRIPT
![Page 1: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/1.jpg)
shiny.collectionsGoogle Docs-like live collaboration in Shiny
useR!2017 Brussels
Marek Rogala // @marekrog
![Page 2: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/2.jpg)
data persistence
live collaboration
delivered fast
1
2
3
What Shiny apps users expect
![Page 3: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/3.jpg)
live collaboration &
data persistence
in !
![Page 4: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/4.jpg)
4
REACTIVEDATABASE
![Page 5: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/5.jpg)
What is a reactive database?
![Page 6: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/6.jpg)
700 users Shiny App
Examples of reactive databases
![Page 7: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/7.jpg)
library(rethinker)
● RethinkDB API in R
● Callback-based
● Painful to use in Shiny
![Page 8: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/8.jpg)
library(shiny.collections)
● RethinkDB collections in Shiny
● Results as Shiny reactives
● Let’s see how this works!
![Page 9: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/9.jpg)
![Page 10: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/10.jpg)
![Page 11: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/11.jpg)
![Page 12: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/12.jpg)
![Page 13: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/13.jpg)
![Page 14: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/14.jpg)
![Page 15: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/15.jpg)
DT::datatableleafletrhandsontable
shiny.collections ♥
![Page 16: Marek Rogala's Talk at User2017 on shiny.collections](https://reader034.vdocuments.us/reader034/viewer/2022052418/5a64d3397f8b9ac86f8b4b2b/html5/thumbnails/16.jpg)
16
GITHUB.COM / APPSILON / SHINY.COLLECTIONS