powered by
Creates a csv file from the ndjson log file.
convert_to_csv( file, logfile = get_logfile(), unsanitize = FALSE, last_first = FALSE, ... )
Invisible NULL.
NULL
Path to write csv file to.
Path to log file to read from.
Should escaped special characters be unescaped?
Should the last log entry be the first row of the data frame?
Additional arguments to pass to utils::write.csv().
utils::write.csv()
Unescaping of special characters can lead to unexpected results. Use unsanitize = TRUE with caution.
unsanitize = TRUE
if (FALSE) { convert_to_csv("my_log.csv") convert_to_csv("my_log.csv", logfile = "my_log.log", last_first = TRUE) }
Run the code above in your browser using DataLab