write_radiator_tsv | R Documentation |
Write tsv file. Using the package readr
. Takes cares of
the file path and proper filenaming. The complete filename is built with the
path.folder
+ filename
+ datetime
+ .tsv
.
Used internally in radiator and assigner and might be of interest for users.
write_radiator_tsv(
data,
path.folder = NULL,
filename,
append = FALSE,
col.names = TRUE,
date = TRUE,
internal = FALSE,
write.message = "standard",
verbose = FALSE
)
data |
An object in the global environment. Ideally a tibble... |
path.folder |
(optional) Path to write the file.
With default, the working directory is used.
Default: |
filename |
(required, character string) Name of the file. |
append |
If FALSE, will overwrite existing file.
If TRUE, will append to existing file.
In both cases, if the file does not exist a new file is created.
Default: |
col.names |
If FALSE, column names will not be included at the top of the file.
If TRUE, column names will be included.
If not specified, col_names will take the opposite value given to append.
Default: |
date |
(logical) To append time to the filename.
Default: |
internal |
(optional, logical) This is used inside radiator internal code and it stops
from writting the file.
Default: |
write.message |
(optional, character) Print a message in the console
after writing file.
With |
verbose |
(optional, logical) |
A file written in the working directory.
Thierry Gosselin thierrygosselin@icloud.com
read_rad
## Not run:
radiator::write_radiator_tsv(data = tidy.data, filename = "data.shark")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.