io_res.decorated | R Documentation |
Exports a documented table. "Desolves" attributes
to standard form, then writes data and metadata to storage.
A short-cut for (io_csv(desolve(x))
.
## S3 method for class 'decorated'
io_res(x, file = "", ...)
x |
decorated; passed to |
file |
passed to |
... |
passed to |
decorated (invisible)
Other io:
io_csv.character()
,
io_csv.data.frame()
,
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:
canonical.decorated()
,
classified.data.frame()
,
decorate.character()
,
decorate.data.frame()
,
desolve.decorated()
,
ggplot.decorated()
,
io_csv.character()
,
io_csv.data.frame()
,
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.list()
,
read_yamlet()
,
resolve.decorated()
,
selected.default()
,
write_yamlet()
library(magrittr)
file <- system.file(package = 'yamlet', 'extdata','quinidine.csv')
x <- io_res(file)
tmp <- tempfile(fileext = '.csv')
io_res(x, tmp)
a <- io_csv(tmp, source = FALSE)
b <- io_csv(file, source = FALSE)
stopifnot(identical(a, b))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.