Description Usage Arguments Details
Write a spark_tbl
to a tabular (typically, comma-separated) file.
1 | spark_write_csv(.data, path, mode = "error", partition_by = NULL, ...)
|
.data |
a |
path |
string, the path where the file is to be saved. |
mode |
string, usually |
partition_by |
string, column names to partition by on disk |
... |
any other named options. See details below. |
Many other options can be set using the ...
. Some popular
ones include header = T
or sep = ","
. A full list can be found
here: https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/DataFrameWriter.html#csv-java.lang.String-
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.