Skip to contents

Functions for creating a 'JDemetra+' Workspace (.jws_new()) and adding a new SA-Processing (.jws_sap_new()). A modelling context can be added to a workspace, it will be valid for all its SA6processings.

Usage

.jws_new(modelling_context = NULL)

.jws_sap_new(jws, name)

Arguments

modelling_context

a list of variables and calendars

jws

Workspace object.

name

name of the new SA-Processing (character).

Value

Returns a java object workspace or SA-Processing.

Details

A modelling context is a list of variables to be used as external regressors in modelling processes (Reg-Arima or Tramo) or calendars to be used to generate calendar regressors. It can be created with rjd3toolkit::modelling_context() function or retrieved from another workspace ((set_context))

References

More information on workspaces in JDemetra+ Graphical User Interface: https://jdemetra-new-documentation.netlify.app/t-gui-sa-modelling-features/

Examples

# Create an empty 'JDemetra+' Workspace
jws <- .jws_new()
# Add an empty SA-Processing
jsap <- .jws_sap_new(jws, "sap1")