| dettl_save | R Documentation |
Saves any extracted and/or transformed data as separate sheet of an xlsx file.
dettl_save(import, file, stage)
import |
The import object to save the data for. |
file |
File path at which to save the data. |
stage |
The stage or stages to save. 'extract' and/or 'transform' |
path <- dettl:::prepare_test_import(
system.file("examples", "person_information", package = "dettl"),
system.file("examples", "dettl_config.yml", package = "dettl")
)
import <- dettl::dettl(file.path(path, "person_information"), "test")
import$extract()
import$transform()
t <- tempfile()
dettl::dettl_save(import, t, "extract")
t2 <- tempfile()
dettl::dettl_save(import, t2, "transform")
t3 <- tempfile()
dettl::dettl_save(import, t3, c("extract", "transform"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.