| convert_to_csv {loggit2} | R Documentation | 
Write log to csv file
Description
Creates a csv file from the ndjson log file.
Usage
convert_to_csv(
  file,
  logfile = get_logfile(),
  unsanitize = FALSE,
  last_first = FALSE,
  ...
)
Arguments
| file | Path to write csv file to. | 
| logfile | Path to log file to read from. | 
| unsanitize | Should escaped special characters be unescaped? | 
| last_first | Should the last log entry be the first row of the data frame? | 
| ... | Additional arguments to pass to  | 
Details
Unescaping of special characters can lead to unexpected results. Use unsanitize = TRUE with caution.
Value
Invisible NULL.
Examples
## Not run: 
  convert_to_csv("my_log.csv")
  convert_to_csv("my_log.csv", logfile = "my_log.log", last_first = TRUE)
## End(Not run)
[Package loggit2 version 2.3.1 Index]