vroom_format | R Documentation |
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,
num_threads = vroom_threads()
)
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 |
num_threads |
Number of threads to use when reading and materializing vectors. If your data contains newlines within fields the parser will automatically be forced to use a single thread only. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.