Exports a data.frame as comma-separated variable,
as well as a yamlet version of its decorations.
A wrapper for as.csv.data.frame
.
# S3 method for data.frame
io_csv(
x,
file = "",
ext = getOption("yamlet_extension", ".yaml"),
coerce = getOption("yamlet_coerce_decorations", FALSE),
con = stdout(),
useBytes = FALSE,
default_keys = getOption("yamlet_default_keys", list("label", "guide")),
...
)
data.frame
passed to as.csv.data.frame
(by method dispatch)
= extension for metadata equivalent of x
logical; whether to coerce factor levels to guide; alternatively, a key for the levels
passed to io_yamlet
passed to io_yamlet
passed to io_yamlet
invisible(file)
Other io:
io_csv.character()
,
io_csv()
,
io_res.character()
,
io_res()
,
io_table.character()
,
io_table.data.frame()
,
io_table()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
io_yamlet.yamlet()
,
io_yamlet()
Other interface:
classified.data.frame()
,
decorate.character()
,
decorate.data.frame()
,
desolve.decorated()
,
ggplot.decorated()
,
io_csv.character()
,
io_res.character()
,
io_table.character()
,
io_table.data.frame()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
is_parseable.default()
,
mimic.default()
,
modify.default()
,
promote.default()
,
read_yamlet()
,
resolve.decorated()
,
selected.default()
,
write_yamlet()
# NOT RUN {
example(io_table)
# }
Run the code above in your browser using DataLab