summariseLogFile | R Documentation |
summarised_result
object.Summarise and extract the information of a log file into a
summarised_result
object.
summariseLogFile(
logFile = getOption("omopgenerics.logFile"),
cdmName = "unknown"
)
logFile |
File path to the log file to summarise. Create a logFile with
|
cdmName |
Name of the cdm for the |
A summarise_result
with the information of the log file.
library(dplyr)
logFile <- tempfile(pattern = "log_{date}_{time}", fileext = ".txt")
createLogFile(logFile = logFile)
logMessage("Starting analysis")
1 + 1
logMessage("Analysis finished")
res <- summariseLogFile()
glimpse(res)
tidy(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.