65th ISI World Statistics Congress

65th ISI World Statistics Congress

RJDProcessor: a rjdverse-based library for seasonal adjustment in official statistics production

Conference

65th ISI World Statistics Congress

Format: IPS paper - WSC 2025

Keywords: officialstatistics, seasonal_adjustment, timeseries

Session: IPS 964 - New Developments in Seasonal Adjustment

Tuesday 7 October 8 a.m. - 9:10 a.m. (Europe/Amsterdam)

Abstract

JDemetra+ is the officially recommended seasonal adjustment software for scholars and practitioners affiliated with the European Central Bank and Statistical System. It is composed of many tools: a graphical user interface (GUI) that can be used together with a cruncher for mass production and R libraries, organized in an ecosystem called rjdverse.
rjdverse allows methodologists, who are generally statisticians with limited background in Java programming, to perform seasonal adjustment in an environment (the R ecosystem) which also provides tools for data and specifications handling and storing. Finally yet importantly, R makes it easier to create custom reports.
Even though rjdverse offers all the libraries needed to perform seasonal adjustment, there is still a usability gap compared to the GUI. In a production environment where multiple time series need to be treated together, rjdverse functions require hardcoding new model specifications and refreshing the data one series at a time. The same issue arises when users need specific reports that differ from the standard ones.
Another crucial aspect, both for the GUI and rjdverse, is the management of model specifications. Currently, data and specifications are stored together in a structure called workspace, a collection of verbose XML files organized hierarchically in filesystem directories. This structure does not perfectly meet the needs of some organizations that may wish to treat model specifications as data, similar to how they handle time series. Treating specifications as independent objects that can be dynamically associated with their respective data would facilitate model comparison, revision checking, and simplify their storage and retrieval in production databases.

In response to these needs, the RJDProcessor library offers the possibility to define and command the overall process of seasonal adjustment (acquisition, processing, storage, and automation) and not only the seasonal adjustment of the data. RJDProcessor integrates the packages of the rjdverse into a fully R-based production pipeline, ready to be used but also easily extendable by methodologists.
RJDProcessor's modular organization, with a clear division of responsibilities, makes the software easy to maintain and extend. Its object-based architecture allows users to adapt it to their production lines, either by writing custom DataReaders that respect the suggested interface or by using the predefined ones.
Model specifications are represented through clearly readable JSON objects and can be dynamically linked with data. Processing of multiple time series is possible by storing their specifications in JSON files, and interoperability with other JDemetra+ software is guaranteed. A Java component is also available, enabling the application of specifications encoded by RJDProcessor to given datasets. Combined with a web interface, this component supports multiple perspectives on seasonal adjustment, enabling each user to interact with JDemetra+ in the way that best fits its role (methodologist, IT, or statistical production staff).

Figures/Tables

Building_blocks