Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

jSA

Functions around 'jSA' objects


Description

get_dictionary returns the indicators that can be extracted from "jSA" objects, get_indicators extract a list of indicators and jSA2R returns the corresponding "SA".

Usage

get_jspec(x, ...)

get_dictionary(x)

get_indicators(x, ...)

jSA2R(x, userdefined = NULL)

Arguments

x

a "jSA" object.

...

characters containing the names of the indicators to extract.

userdefined

userdefined vector with characters for additional output variables (see user_defined_variables). Only used for "SA" objects.

Details

A "jSA" object is a list with three elements:

  • "result": the Java object with the results of a seasonal adjustment or a pre-adjustment method.

  • "spec": the Java object with the specification of a seasonal adjustment or a pre-adjustment method.

  • "dictionary": the Java object with dictionnary of a seasonal adjustment or a pre-adjustment method. In particular, it contains all the user-defined regressors.

get_dictionary returns the list of indicators that can be extracted from a jSA object by the function get_indicators.

jSA2R returns the corresponding formatted seasonal adjustment ("SA" object) or RegARIMA ("regarima" object) model.

get_jspec returns the Java object that contains the specification from an object "jSA", "X13", "TRAMO_SEATS" or "sa_item".

Value

get_dictionary a vector of characters, get_indicators returns a list containing the indicators that are extracted, jSA2R returns a "SA" or a "regarima" object and get_jspec returns a Java object.

Examples

myseries <- ipi_c_eu[, "FR"]
mysa <- jx13(myseries, spec = "RSA5c")
get_dictionary(mysa)

get_indicators(mysa, "decomposition.b2", "decomposition.d10")

# To convert to the R object
jSA2R(mysa)

RJDemetra

Interface to 'JDemetra+' Seasonal Adjustment Software

v0.1.6
EUPL
Authors
Alain Quartier-la-Tente [aut, cre] (<https://orcid.org/0000-0001-7890-3857>), Anna Michalek [aut], Jean Palate [aut], Raf Baeyens [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.