save_workspace | R Documentation |
Function allowing to write a workspace as a collection of xml files readable by JDemetra+ Graphical User Interface.
save_workspace(jws, file, replace = FALSE)
jws |
Workspace object to export. |
file |
path where to export the 'JDemetra+' Workspace (.xml file). |
replace |
boolean indicating if the Workspace should be replaced if it already exists. |
dir <- tempdir()
jws <- jws_new()
jsap1 <- jws_sap_new(jws, "sap1")
y <- rjd3toolkit::ABS$X0.2.09.10.M
add_sa_item(jsap1, name = "serie_1", x = y, rjd3x13::x13_spec())
save_workspace(jws, file.path(dir, "workspace.xml"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.