
read_eventlog
reads eventlog stored in a file or in a database.
read_eventlog(file = NULL, db = NULL, last_n = Inf, verbose = TRUE)
A character string. Path to a file log.
A character string. Connection string to a mongo database.
An integer. How many last event records should be return?
Default is Inf
which returns the whole eventlog.
A logical value. Should the function print addition messages? Default is TRUE.
An object of class eventlog
which is a data frame with
appropriate case, activity and timestamp classifiers specified.
The eventlog
object is a result of
bupaR:eventlog
function from bupaR
package and it is suitable for further process-mining analysis.
# NOT RUN {
read_eventlog(
last_n = 25,
file = system.file("shiny", "demoapp/events.log",
package = "shinyEventLogger"))
# }
Run the code above in your browser using DataLab