The demo apps are showing how new logging framework dedicated for complex shiny apps can be used. Different types of events can be logged (character string, value of a variable, multi-line output of a function, result of a unit test, custom error, warning, or diagnostic message). Each event can be logged with a list of parameters that are event-specific, common for a group of events, or common for all app events. Logging can be done simultaneously to R console, browser JavaScript console, a file log, and a database (currently MongoDB). Log data can be further analyzed with the help of process-mining techniques from βbupaRβ package.
Code: https://rstudio.cloud/project/214280
GitHub: https://github.com/kalimu/shinyEventLogger
Documentation: https://kalimu.github.io/shinyEventLogger/
Demo apps:
-
https://kalimu.shinyapps.io/demoapp/
β demo shiny app logging different types of events. -
https://kalimu.shinyapps.io/dashboardapp/
β demo dashboard showing examples how logged events from theDemoApp
can be analyzed.