Convert a data frame to a delimited string
This is equivalent to vroom_write()
, but instead of writing to
disk, it returns a string. It is primarily useful for examples and for
testing.
vroom_format( x, delim = "\t", eol = "\n", na = "NA", col_names = TRUE, escape = c("double", "backslash", "none"), quote = c("needed", "all", "none"), bom = FALSE )
x |
A data frame or tibble to write to disk. |
delim |
Delimiter used to separate values. Defaults to |
eol |
The end of line character to use. Most commonly either |
na |
String used for missing values. Defaults to 'NA'. |
col_names |
If |
escape |
The type of escape to use when quotes are in the data.
|
quote |
How to handle fields which contain characters that need to be quoted.
|
bom |
If |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.