Skip to contents

This function updates a JDemetra+ workspace (.xml) by inserting pre-specified outliers into the domainSpec of each series (SA-Item).

Usage

assign_outliers(jws, outliers)

Arguments

jws

A Java Workspace object, as returned by rjd3workspace::jws_open() or rjd3workspace::jws_new().

outliers

[list] A named list where each element corresponds to a series in the workspace created with retrieve_outliers or import_outliers.

Value

The object jws updated with new pre-specified outliers.

Details

This function only modifies the first SA-Processing.

See also

Examples

if (FALSE) { # \dontrun{
# Retrieve outliers from an existing workspace
outs <- retrieve_outliers("workspace.xml")

# Reapply them to another workspace
assign_outliers(outliers = outs, ws_path = "workspace.xml")
} # }