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:

  1. https://kalimu.shinyapps.io/demoapp/
    – demo shiny app logging different types of events.
  2. https://kalimu.shinyapps.io/dashboardapp/
    – demo dashboard showing examples how logged events from the DemoApp can be analyzed.
6 Likes

This topic was automatically closed 58 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.