Save Workspace
Arguments
- jws
the workspace object to export.
- file
the path where to export the 'JDemetra+' workspace (.xml file).
- replace
boolean indicating if the workspace should be replaced if it already exists.
Examples
dir <- tempdir()
jws <- .jws_new()
jsap1 <- .jws_sap_new(jws, "sa1")
y <- rjd3toolkit::ABS$X0.2.09.10.M
add_sa_item(jsap1, name = "x13", x = y, rjd3x13::x13_spec())
save_workspace(jws, file.path(dir, "workspace.xml"))