set_specification | R Documentation |
Set Specification in a Sa-Item
set_specification(jsap, idx, spec)
set_domain_specification(jsap, idx, spec)
jsap |
SAProcessing to be modified. |
idx |
index of the target SA-item. |
spec |
new specification generated with |
NULL
returned invisibly
# Create a (customized) spec) spec
library(rjd3x13)
spec <- rjd3x13::x13_spec("rsa3") |>
rjd3toolkit::set_basic(type = "From", d0 = "2012-01-01")
# Load a Workspace to modify
file <- system.file("workspaces", "workspace_test.xml", package = "rjd3workspace")
jws <- jws_open(file)
# Select SAProcessing with the target SA-item
sap1 <- jws_sap(jws, 1)
# Set specification in targeted SA-item
set_specification(sap1, 2, spec)
# Set domain specification in selected SA-item
set_domain_specification(sap1, 3, spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.