View source: R/learnitdown_shiny.R
read_shinylogs | R Documentation |
Learnitdown Shiny applications are a special kind of Shiny applications that
logs events and check results. It uses the shinylogs
package to log Shiny
events and read_shinylogs()
reads such logs and convert their data into a
format that is suitable to include, say in a MongoDB database.
read_shinylogs(file, version = "0", log.errors = TRUE, log.outputs = FALSE)
file |
The path to the RDS file that contains the shinylogs log data. |
version |
The version of the Shiny application. Version is not recorded by shinylogs, so, we must provide it here. |
log.errors |
Do we record errors too? |
log.outputs |
Do we record outputs too (note that results are recorded with inputs)? |
A data frame with the different events logged (one per line).
record_shiny()
, trackEvents()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.