← Back to home
Comparison · Infra & APIs

anticlust vs states

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

anticlust vs states: at a glance

Featureanticluststates
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesanticlustering, experimental-design, constraint-solving, optimizationpolitical-science, panel-data, country-codes, datasets
Last editorial update2h ago42m ago
WebsiteVisit →Visit →

What is anticlust?

Anticlustering keeps absorbing constraints — must-link, cannot-link, blocks, missing data

anticlust partitions a set of items into groups that are as similar to each other as possible — assembling matched stimulus sets, balanced experimental conditions, comparable teaching groups. The current surface is one function, anticlustering(), with a growing list of things it will honour: must-link and cannot-link constraints, categorical variables as factors, NAs, blocking by a categorical level, and a choice among exact solvers and heuristics.

Read the full anticlust 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 →

anticlust vs states: editorial side-by-side

A
anticlust
INFRA · APIS
0.0

Anticlustering keeps absorbing constraints — must-link, cannot-link, blocks, missing data

◆ Current state

anticlust partitions a set of items into groups that are as similar to each other as possible — assembling matched stimulus sets, balanced experimental conditions, comparable teaching groups. The current surface is one function, anticlustering(), with a growing list of things it will honour: must-link and cannot-link constraints, categorical variables as factors, NAs, blocking by a categorical level, and a choice among exact solvers and heuristics.

◆ Where it's heading

Two years of releases have gone almost entirely into constraint handling and input tolerance rather than new objectives. The methods list grew by absorbing outside work — the three-phase search of Yang et al. contributed by an external author, a 2PML heuristic for must-link problems, a Gurobi backend for the exact formulations. Meanwhile categories_to_binary() has been rewritten twice, which is where the recent bugs have come from.

◆ Prediction

The constraint types now interact combinatorially — blocks, must-link, cannot-link, missing values and each objective — and the last two releases were both regressions in the encoding layer underneath them. Consolidating that layer is the more likely next move than another solver.

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

See all anticlust alternatives → · See all states alternatives →

Recent activity from anticlust and states

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

  1. 4mo agoanticlustOne-hot encoding regression from 0.8.13 reverted
  2. 8mo agoanticlustblocks argument applies anticlustering level by level
  3. 9mo agoanticlustMissing values, factor columns, and the three-phase search
  4. 0y agostatesplot_missing() test fixed for the next ggplot2
  5. 1y agoanticlustEdge cases in the previous release's cannot-link handling
  6. 1y agoanticlustVector cannot-link constraints skip the solver entirely
  7. 1y agoanticlustUncaught test error flagged by CRAN additional checks
  8. 2y agostatesggplot2 and dplyr deprecation cleanup
  9. 2y agostatesBundled state data stripped to plain data frames
  10. 5y agostatesMicrostate coding for COW data and state_panel() shortcuts
  11. 7y agostatesSimpler defaults for state_panel() and plot_missing()

Frequently asked questions

What is the difference between anticlust and states?

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

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

Top anticlust alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "anticlust alternatives" section above for the current picks, or visit /alternatives/anticlust 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.