write.csv: Data Output

View source: R/covid19.R

write.csvR Documentation

Data Output

Description

Write csv in UTF-8.

Usage

write.csv(x, file, row.names = FALSE, na = "", fileEncoding = "UTF-8", ...)

Arguments

x

the object to be written, preferably a matrix or data frame. If not, it is attempted to coerce x to a data frame.

file

either a character string naming a file or a connection open for writing. "" indicates output to the console.

row.names

either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.

na

the string to use for missing values in the data.

fileEncoding

character string: if non-empty declares the encoding to be used on a file (not a connection) so the character data can be re-encoded as they are written.

...

arguments passed to write.csv

Value

return value of write.csv


covid19datahub/COVID19dev documentation built on March 16, 2023, 3:22 a.m.