← Back to home
Comparison · Infra & APIs

melodi vs stochvol

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

melodi vs stochvol: at a glance

Featuremelodistochvol
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesofficial-statistics, api-client, insee, francebayesian-inference, stochastic-volatility, mcmc, rcpp
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is melodi?

INSEE's statistics API gets a French R client that keeps meeting its edge cases

Rmelodi is InseeFrLab's R client for the Melodi APIs, which serve French official statistics. It reached 1.0.0 in February 2026 with the technical call parameters moved out of function arguments and into options(), and a per-request row limit raised to 100,000 on the server side. Everything since has been dataset-specific: field names that vary between datasets, geography labels, performance.

Read the full melodi trajectory →

What is stochvol?

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

Read the full stochvol trajectory →

melodi vs stochvol: editorial side-by-side

M
melodi
INFRA · APIS
0.0

INSEE's statistics API gets a French R client that keeps meeting its edge cases

◆ Current state

Rmelodi is InseeFrLab's R client for the Melodi APIs, which serve French official statistics. It reached 1.0.0 in February 2026 with the technical call parameters moved out of function arguments and into options(), and a per-request row limit raised to 100,000 on the server side. Everything since has been dataset-specific: field names that vary between datasets, geography labels, performance.

◆ Where it's heading

The work is convergence with an API that is still moving. Version 0.3.0 added label lookups so codes become readable; 1.0.0 centralised configuration; 1.0.1 and 1.0.2 each fix a place where a real dataset does not match the assumed shape — get_range_geo() needing an extra label field, then the consumer price index series naming its value column differently from every other dataset. Release notes are in French, which is consistent with the audience.

◆ Prediction

The 1.0.x pattern is one dataset-shape exception per release, which suggests the client is still discovering how much the Melodi datasets vary rather than converging on a general parser. Expect more of the same until the variation is handled generically.

S
stochvol
INFRA · APIS
0.0

A Bayesian volatility sampler in its maintenance decade, paying for its own speed

◆ Current state

stochvol runs MCMC for stochastic volatility models, with a C++ sampler underneath an R interface. Five years of releases in this window contain no new models: the work is compiler and dependency compatibility, CRAN check notes, and a steady trickle of corrections to the sampler itself. Its methodological milestone, the Journal of Statistical Software paper, is recorded in a 2021 tag.

◆ Where it's heading

This is what a finished computational package looks like. The formula interface arrived at 3.1.0 and nothing has been added since; what changes is the ground underneath — RcppArmadillo major versions, UBSan checks, error-handling conventions moving from Rf_error to Rcpp::stop for correct memory management. The recurring pattern worth watching is that several releases fix real errors in the sampler's proposal distributions, found by users and by CRAN's own instrumented checks rather than by the maintainer.

◆ Prediction

Nothing in these notes suggests new methodology. Expect the next release when RcppArmadillo or a CRAN check flavour forces one, and treat any bug report against the samplers as the more consequential event.

Alternatives to melodi and stochvol

Other Infra & APIs 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 melodi or stochvol.

See all melodi alternatives → · See all stochvol alternatives →

Recent activity from melodi and stochvol

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

  1. 5mo agomelodiget_data() handles value columns not named OBS_VALUE_NIVEAU
  2. 5mo agostochvolSampler crash with constant parameters fixed, plus RcppArmadillo 15
  3. 6mo agomelodiGeography labels added and the lookup loop vectorised
  4. 6mo agomelodiCall parameters move from arguments into options()
  5. 7mo agomelodiBroken documentation examples and vcr 2 test migration
  6. 8mo agomelodiCode label lookups for geography and every other dimension
  7. 1y agostochvolTwo CRAN check notes cleared
  8. 1y agostochvolProposal variance corrected in the centered parameterisation
  9. 2y agostochvolCRAN stochvol 3.2.4
  10. 2y agostochvolRolling-window indexing and inverse gamma prior validation fixed
  11. 3y agostochvolCore C++ sampler routines exported for reuse

Frequently asked questions

What is the difference between melodi and stochvol?

They serve adjacent needs but don't currently overlap on shipped themes. melodi and stochvol 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 melodi better than stochvol?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. melodi and stochvol 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to melodi?

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

What are the best alternatives to stochvol?

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