Retrieve a SA-Item by its name
get_jsai_by_name.RdSearches a workspace for a seasonal adjustment item (SAI) whose name matches the user-supplied string and returns the corresponding object.
Arguments
- jws
A Java Workspace object, as returned by
rjd3workspace::jws_open()orrjd3workspace::jws_new().- series_name
character Name of the SAI to retrieve.
Examples
if (FALSE) { # \dontrun{
path <- file.path(tempdir(), "workspace_RSA3.xml")
jws <- jws_open(path)
jws_compute(jws)
jsai <- get_jsai_by_name(jws, "series_1")
df <- get_series(jsai)
head(df)
} # }