← Back to all sparks
G

ggdemetra

ANALYTICS
Velocity0.0

ggplot2 Extension for Seasonal and Trading Day Adjustment with RJDemetra

A ggplot2 layer for seasonal adjustment output, filling in one plot type at a time.

seasonal-adjustmentggplot2time-seriestramo-seatseconometrics
Current state
ggdemetra is a thin, focused bridge: it puts RJDemetra's seasonal adjustment results — TRAMO-SEATS and X-13 models — into ggplot2 geoms and autoplot methods. Development runs in short bursts separated by long quiet stretches, and the most recent work has been correcting SI ratio handling rather than adding surface. The API is small enough that a single function rename counts as the notable change in a release.
Where it's heading
The package has been steadily completing its coverage of the seasonal adjustment output surface: component extractors and autoplot methods in 0.2.3, SI ratio plotting in 0.2.5, then two releases of corrections to make SI ratios behave under TRAMO-SEATS jSA models and when no seasonal component is exported. Alongside that, the naming is being tidied — y_forecast() became raw(), and init_ggplot() shortened the setup boilerplate. This reads as a package approaching the edge of its intended scope and spending its effort on correctness.
Prediction
Two consecutive releases fixing SI ratios under TRAMO-SEATS suggest that code path is the least settled part of the package, so further corrections there are the most likely next move. The entries give no indication of new model families or plot types being planned.

Recent moves

  1. 2y ago

    siratio() fix when TRAMO-SEATS exports no seasonal component

    A single correction to siratio() for TRAMO-SEATS models that export no seasonal component. The third release in a row touching SI ratios, and the narrowest of them.

    View source ↗
  2. 2y ago

    raw() replaces y_forecast(); new init_ggplot() helper

    The release that actually shipped the 0.2.6 notes: a siratio() correction for TRAMO-SEATS jSA models, the rename of y_forecast() to raw(), and a new init_ggplot() helper. The rename is a small breaking change in a package whose API is small enough for that to matter.

    View source ↗
  3. 2y ago

    Re-tagged moments later as 0.2.7

    Tagged 79 seconds before 0.2.7 with an identical changelog — a re-tag, not a distinct release. The content it describes is covered by 0.2.7.

    View source ↗
  4. 3y ago

    SI ratio plotting functions land

    SI ratio plotting arrives via siratio(), siratioplot() and ggsiratioplot(), plus a SystemRequirements update for CRAN policy. Combined with the 0.2.3 notes carried in the same entry — autoplot methods and the component extractors — this is the release where the package's plotting surface filled out.

    View source ↗
  5. 5y ago

    ts2df() conversion helper and geom_outlier date fix

    Adds ts2df() for converting ts objects to data frames and corrects geom_outlier's date bounds when coefficients are shown. Small utility work that removes a manual conversion step ahead of plotting.

    View source ↗
  6. 6y ago

    geom_arima no longer recomputes the model

    A single bug correction in geom_arima, which had been recomputing a new model instead of reusing the fitted one. Invisible except as a speed and consistency fix.

    View source ↗