← Back to home
Comparison · Analytics

comtradr vs tidyclust

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

comtradr vs tidyclust: at a glance

Featurecomtradrtidyclust
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themestrade data, api wrapper, un comtrade, error handlingtidyclust, clustering, tidymodels, dbscan
Last editorial update3h ago47m ago
WebsiteVisit →Visit →

What is comtradr?

comtradr's 1.0 line is a long tail of patches against a brittle UN trade API.

comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.

Read the full comtradr trajectory →

What is tidyclust?

tidyclust just tripled the model types it can fit, and handed finalization back to tune

tidyclust brings clustering into the tidymodels interface, and 0.3.0 was the release where its model coverage stopped being k-means and hierarchical clustering. DBSCAN and HDBSCAN, Gaussian mixtures, and mean shift all arrived at once as proper clustering specifications. The two releases since have been bug fixes on the metric and sparse-data paths, which is the usual pattern after a large surface addition.

Read the full tidyclust trajectory →

comtradr vs tidyclust: editorial side-by-side

C
comtradr
ANALYTICS
2.5

comtradr's 1.0 line is a long tail of patches against a brittle UN trade API.

◆ Current state

comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.

◆ Where it's heading

The work is defensive, shaped by the API's constraints rather than by a roadmap. The 1.0.6 fix is representative: Comtrade rejects URLs longer than about 2000 characters, so the package now detects that before the request and transparently splits and recombines it. Running alongside is steady dependency hygiene, most recently swapping poorman for dplyr ahead of a CRAN archival.

◆ Prediction

The release pattern points to more of the same, with error-message and edge-case repairs as users hit new API limits, rather than new endpoints.

T
tidyclust
ANALYTICS
0.0

tidyclust just tripled the model types it can fit, and handed finalization back to tune

◆ Current state

tidyclust brings clustering into the tidymodels interface, and 0.3.0 was the release where its model coverage stopped being k-means and hierarchical clustering. DBSCAN and HDBSCAN, Gaussian mixtures, and mean shift all arrived at once as proper clustering specifications. The two releases since have been bug fixes on the metric and sparse-data paths, which is the usual pattern after a large surface addition.

◆ Where it's heading

The package is converging with the rest of tidymodels rather than maintaining a parallel API: finalize_model_tidyclust() and finalize_workflow_tidyclust() are deprecated because tune::finalize_model() and tune::finalize_workflow() now handle cluster_spec objects natively. That removes the last place where clustering needed its own version of a shared verb. With density-based and model-based clustering now present, the interface has to cover model families with genuinely different assumptions than the centroid methods it started with.

◆ Prediction

The recent fixes to cluster_metric_set() labeling and custom-metric authoring suggest evaluation is the current focus, so metrics suited to density-based clusters are the likely next addition.

Alternatives to comtradr and tidyclust

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 comtradr or tidyclust.

See all comtradr alternatives → · See all tidyclust alternatives →

Recent activity from comtradr and tidyclust

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

  1. 13d agocomtradrLong code lists split automatically to avoid HTTP 414 errors
  2. 1mo agotidyclusttidyclust 0.3.2 fixes k_means() on sparse predictors
  3. 1mo agotidyclusttidyclust 0.3.1 stops same-named metrics silently merging
  4. 2mo agotidyclusttidyclust 0.3.0 adds DBSCAN, Gaussian mixture, and mean shift models
  5. 8mo agocomtradravailable_variables reference table exposes API metadata
  6. 10mo agocomtradrISO alpha-2 codes added to reference tables
  7. 1y agotidyclusttidyclust 0.2.4 switches distance calculations to philentropy
  8. 1y agocomtradrPatch restores tidy_cols after a regression
  9. 1y agocomtradrFixes for tidy_cols argument and bulk small-file downloads
  10. 2y agotidyclusttidyclust 0.2.3 resolves a clustMixType reverse-dependency issue
  11. 2y agotidyclusttidyclust 0.2.2 resolves a ClusterR reverse-dependency issue
  12. 2y agocomtradrCache relocated to comply with CRAN policy

Frequently asked questions

What is the difference between comtradr and tidyclust?

They serve adjacent needs but don't currently overlap on shipped themes. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is comtradr better than tidyclust?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to comtradr?

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

What are the best alternatives to tidyclust?

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