← Back to home
Comparison · Infra & APIs

melodi vs states

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

melodi vs states: at a glance

Featuremelodistates
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesofficial-statistics, api-client, insee, francepolitical-science, panel-data, country-codes, datasets
Last editorial update2h ago42m 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 states?

State-panel tooling holding steady since its 2020 data and ergonomics release.

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

Read the full states trajectory →

melodi vs states: 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
states
INFRA · APIS
0.0

State-panel tooling holding steady since its 2020 data and ergonomics release.

◆ Current state

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

◆ Where it's heading

The package has reached the point where its own data and API are settled and the release trigger is upstream churn in the tidyverse. What movement there is goes toward making the two state lists interchangeable, with the microstates coding carried from G&W onto the COW data as the clearest example, rather than toward new datasets.

◆ Prediction

The next release is most likely another compatibility pass; a data refresh would be the signal that the package is active again.

Alternatives to melodi and states

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

See all melodi alternatives → · See all states alternatives →

Recent activity from melodi and states

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

  1. 5mo agomelodiget_data() handles value columns not named OBS_VALUE_NIVEAU
  2. 6mo agomelodiGeography labels added and the lookup loop vectorised
  3. 6mo agomelodiCall parameters move from arguments into options()
  4. 7mo agomelodiBroken documentation examples and vcr 2 test migration
  5. 8mo agomelodiCode label lookups for geography and every other dimension
  6. 0y agostatesplot_missing() test fixed for the next ggplot2
  7. 2y agostatesggplot2 and dplyr deprecation cleanup
  8. 2y agostatesBundled state data stripped to plain data frames
  9. 5y agostatesMicrostate coding for COW data and state_panel() shortcuts
  10. 7y agostatesSimpler defaults for state_panel() and plot_missing()

Frequently asked questions

What is the difference between melodi and states?

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

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

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