convert_to_csv | R Documentation |
Creates a csv file from the ndjson log file.
convert_to_csv(
file,
logfile = get_logfile(),
unsanitize = FALSE,
last_first = FALSE,
...
)
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 |
Unescaping of special characters can lead to unexpected results. Use unsanitize = TRUE
with caution.
Invisible NULL
.
## Not run:
convert_to_csv("my_log.csv")
convert_to_csv("my_log.csv", logfile = "my_log.log", last_first = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.