Description Usage Arguments Value
View source: R/utility_functions.R
Updates data in a file based on the given path. Backs up the old file if the file with the same name is already present. Appends the file name with the timestamp for the back up files.
1 | update_output_file(data, file_path, max_limit = 4)
|
data |
A data.frame, tibble or data.table. |
file_path |
A character string representing the path of the output file. Do not include file extension. |
max_limit |
A numeric value representing the number of most recent back up files to keep. Default is 4. |
A logical value TRUE if the operation is successful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.