Write CSV file to disk
write_csv_arrow(
  x,
  sink,
  file = NULL,
  include_header = TRUE,
  col_names = NULL,
  batch_size = 1024L,
  write_options = NULL,
  ...
)data.frame, RecordBatch, or Table
A string file path, URI, or OutputStream, or path in a file
system (SubTreeFileSystem)
file name. Specify this or sink, not both.
Whether to write an initial header line with column names
identical to include_header. Specify this or
include_headers, not both.
Maximum number of rows processed at a time. Default is 1024.
additional parameters
The input x, invisibly. Note that if sink is an OutputStream,
the stream will be left open.