← Back to home
Comparison · Analytics

ggdemetra vs socialmixr

A side-by-side editorial comparison of ggdemetra and socialmixr — release velocity, themes, recent moves, and the top alternatives to consider.

ggdemetra vs socialmixr: at a glance

Featureggdemetrasocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesseasonal-adjustment, ggplot2, time-series, tramo-seatscontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago11h ago
WebsiteVisit →Visit →

What is ggdemetra?

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

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.

Read the full ggdemetra trajectory →

What is socialmixr?

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

Read the full socialmixr trajectory →

ggdemetra vs socialmixr: editorial side-by-side

G
ggdemetra
ANALYTICS
0.0

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

◆ 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.

S
socialmixr
ANALYTICS
0.0

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

◆ Current state

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

◆ Where it's heading

The arc from 0.4.0 to 0.6.0 is decomposition: first extracting helpers like assign_age_groups(), then moving downloads out of the package, and now exposing every stage of matrix construction as its own verb. Breaking changes are accepted at each step — preserved empty age groups, arrays instead of xtabs, [N,Inf) labels — with the new class inheriting from list so existing $matrix access keeps working. The label change is explicitly aligned with the contactmatrix package.

◆ Prediction

Expect the deprecated dotted argument names and the remaining in-package download paths to be removed once the contactsurveys handoff completes, leaving contact_matrix() as a thin wrapper over the pipeline.

Alternatives to ggdemetra and socialmixr

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either ggdemetra or socialmixr.

See all ggdemetra alternatives → · See all socialmixr alternatives →

Recent activity from ggdemetra and socialmixr

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  3. 6mo agosocialmixrAge-group assignment and population lookup split out
  4. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  5. 2y agosocialmixrcontact_matrix() now takes survey objects only
  6. 2y agoggdemetrasiratio() fix when TRAMO-SEATS exports no seasonal component
  7. 2y agoggdemetraraw() replaces y_forecast(); new init_ggplot() helper
  8. 2y agoggdemetraRe-tagged moments later as 0.2.7
  9. 2y agosocialmixrTest fixes for machine-precision failures
  10. 3y agoggdemetraSI ratio plotting functions land
  11. 5y agoggdemetrats2df() conversion helper and geom_outlier date fix
  12. 6y agoggdemetrageom_arima no longer recomputes the model

Frequently asked questions

What is the difference between ggdemetra and socialmixr?

They serve adjacent needs but don't currently overlap on shipped themes. ggdemetra and socialmixr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ggdemetra better than socialmixr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggdemetra and socialmixr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to ggdemetra?

Top ggdemetra alternatives in Analytics are ranked by recent ship velocity. Browse the "ggdemetra alternatives" section above for the current picks, or visit /alternatives/ggdemetra for the full list with editorial commentary on each.

What are the best alternatives to socialmixr?

Top socialmixr alternatives in Analytics are ranked by recent ship velocity. Browse the "socialmixr alternatives" section above for the current picks, or visit /alternatives/socialmixr for the full list with editorial commentary on each.