View source: R/import_workspace.R
get_position | R Documentation |
Generic functions to retrieve the position of the contained multiprocessings
or the contained sa_items
.
get_position(x, name)
x |
An object containing other objects whose names we want to know |
name |
a |
A integer
Other functions to retrieve information from a workspace, multiprocessing or sa_item: get_name
, get_all_names
, count
, get_model
, get_ts
.
spec_x13 <- x13_spec(spec = "RSA5c", easter.enabled = FALSE)
sa_x13 <- x13(ipi_c_eu[, "FR"], spec = spec_x13)
spec_ts <- tramoseats_spec(spec = "RSA5")
sa_ts <- tramoseats(ipi_c_eu[, "FR"], spec = spec_ts)
wk <- new_workspace()
mp <- new_multiprocessing(wk, "sap1")
mp2 <- new_multiprocessing(wk, "sap2")
get_position(wk, "sap1")
get_position(wk, "sap2")
add_sa_item(wk, "sap1", sa_x13, "X13")
add_sa_item(wk, "sap1", sa_ts, "TramoSeats")
get_position(mp, "TramoSeats")
get_position(mp, "X13")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.