write_csv: Write to a CSV file

write_csvR Documentation

Write to a CSV file

Description

Write to a CSV file

Usage

write_csv(
  input_data,
  file,
  prompt = FALSE,
  signif = Inf,
  digits = 15,
  date_format = "%Y-%m-%d",
  na = "",
  eol = "\r\n",
  row.names = FALSE,
  quote = TRUE,
  ...,
  verbose = getOption("verbose")
)

Arguments

input_data

data frame

file

filename

prompt

TRUE or character; if not FALSE, confirmation is requested

signif

(optional) significant digits (default Inf)

digits

(optional) passed to format if signif is not specified

na

how to represent NA ("" means blank)

...

further arguments to write.csv

Value

      \code{input_data}, possibly modified. See Note for details.

Note

In contrast to write.csv, row.names is set to FALSE, so that an extra column will not be written.

If signif is supplied, then the values that are written will be rounded. It is these rounded values that are returned (invisibly, for chaining).

See Also

read_tbl


BAAQMD/tbltools documentation built on Feb. 29, 2024, 5:45 a.m.