Assign outliers to a JDemetra+ workspace
assign_outliers.RdThis function updates a JDemetra+ workspace (.xml) by inserting
pre-specified outliers into the domainSpec of each series (SA-Item).
Arguments
- jws
A Java Workspace object, as returned by
rjd3workspace::jws_open()orrjd3workspace::jws_new().- outliers
[list] A named list where each element corresponds to a series in the workspace created with retrieve_outliers or import_outliers.
See also
retrieve_outliers()to extract outliers from an existing workspace.export_outliers()/import_outliers()to manage YAML files of outliers.
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")
} # }