← Back to home
Comparison · Infra & APIs

melodi vs prospectr

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

melodi vs prospectr: at a glance

Featuremelodiprospectr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesofficial-statistics, api-client, insee, francespectroscopy, signal-processing, preprocessing, calibration-sampling
Last editorial update49m 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 prospectr?

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

Read the full prospectr trajectory →

melodi vs prospectr: 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.

P
prospectr
INFRA · APIS
0.0

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

◆ Current state

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

◆ Where it's heading

The recent work is corrective rather than additive, and several items changed results silently before being caught. continuumRemoval() derived its convex-hull boundary offset from a fixed one-wavelength assumption that broke for fine-resolution spectra or non-nanometre units; cochranTest() passed an invalid argument name to prcomp() and produced incorrect principal component scores; readASD() silently dropped spectra in one branch of its text path. Two file readers were leaking connections. Alongside that runs a smaller thread of decoupling preprocessing steps from each other, most visibly detrend() gaining an snv argument so polynomial detrending can run without the SNV transform that Barnes et al. bundled with it.

◆ Prediction

The detrend() decoupling is the only recent addition and it fits a broader pipeline-composition direction, so similar separation of other bundled preprocessing steps is the plausible next move. The misspelled substraction argument now carries a deprecation warning, which schedules its removal for a future release.

Alternatives to melodi and prospectr

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

See all melodi alternatives → · See all prospectr alternatives →

Recent activity from melodi and prospectr

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

  1. 1mo agoprospectrdetrend() can run without a prior SNV transformation
  2. 2mo agoprospectrContinuum removal, SNV and cochranTest corrected; readers stop leaking
  3. 5mo agomelodiget_data() handles value columns not named OBS_VALUE_NIVEAU
  4. 6mo agomelodiGeography labels added and the lookup loop vectorised
  5. 6mo agomelodiCall parameters move from arguments into options()
  6. 7mo agomelodiBroken documentation examples and vcr 2 test migration
  7. 8mo agomelodiCode label lookups for geography and every other dimension
  8. 1y agoprospectrread_nircal() sample ID field fix
  9. 3y agoprospectrNon-UTF8 sample IDs no longer become NA
  10. 4y agoprospectrkenStone() bug fix
  11. 4y agoprospectrread_nircal() execution failure fixed

Frequently asked questions

What is the difference between melodi and prospectr?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. melodi and prospectr 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 prospectr?

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