read_workspace: Read all SA-Items from a Workspace or SA-Processing

View source: R/workspace.R

read_workspaceR Documentation

Read all SA-Items from a Workspace or SA-Processing

Description

Functions reading all SA-Items from a Workspace (read_workspace()) or a SA-Processing (read_sap()) and allowing to access them as R lists. Whereas functions jread_sap() and jread_workspace() only return corresponding Java objects

Usage

read_sap(jsap)

jread_sap(jsap)

read_workspace(jws, compute = TRUE)

jread_workspace(jws, compute = TRUE)

Arguments

jsap

java SA-Processing.

jws

java Workspace.

compute

compute or not the workspace (to get the estimation results).

Value

list or java object

Examples



# Load workspace
file <- system.file("workspaces", "workspace_test.xml", package = "rjd3workspace")
jws <- jws_open(file)

# Read workspace
jread_workspace(jws, compute = FALSE)
rws <- read_workspace(jws)

# Read sap
sap<-jws_sap(jws,1)
jread_sap(sap)
read_sap(sap)


palatej/rjdemetra3 documentation built on July 16, 2025, 5:41 p.m.