← Back to home
Comparison · Analytics

comtradr vs scales

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

Shared themes:r

comtradr vs scales: at a glance

Featurecomtradrscales
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themestrade data, api wrapper, un comtrade, error handlingr, ggplot2, data-visualization, axis-labels
Last editorial update56m ago3h 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 scales?

scales keeps widening what ggplot2 can put on an axis.

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

Read the full scales trajectory →

comtradr vs scales: 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.

S
scales
ANALYTICS
0.0

scales keeps widening what ggplot2 can put on an axis.

◆ Current state

scales supplies the breaks, labels and transformations behind ggplot2's axes and legends. Unlike much of the tidyverse infrastructure around it, it still ships genuine feature work each release: native timespan handling in 1.3.0, then custom range-training classes and label_glue() in 1.4.0.

◆ Where it's heading

The arc runs toward extensibility and type coverage. First came built-in support for awkward types like difftime and hms; 1.4.0 inverts that by letting any third-party class participate in range training simply by implementing range() or levels(). Labelling is getting more expressive rather than merely more numerous.

◆ Prediction

Expect continued type-support and labelling work, with extension points that let downstream packages plug in their own classes instead of scales enumerating every one.

Alternatives to comtradr and scales

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

See all comtradr alternatives → · See all scales alternatives →

Recent activity from comtradr and scales

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

  1. 13d agocomtradrLong code lists split automatically to avoid HTTP 414 errors
  2. 8mo agocomtradravailable_variables reference table exposes API metadata
  3. 10mo agocomtradrISO alpha-2 codes added to reference tables
  4. 1y agoscalesscales 1.4.0 opens range training to custom classes
  5. 1y agocomtradrPatch restores tidy_cols after a regression
  6. 1y agocomtradrFixes for tidy_cols argument and bulk small-file downloads
  7. 2y agocomtradrCache relocated to comply with CRAN policy
  8. 2y agoscalesscales 1.3.0 makes timespans first-class on axes
  9. 3y agoscalesscales 1.2.1 re-documents to fix .Rd HTML issues
  10. 4y agoscalesscales 1.2.0 fixes currency sign order and adds scale_cut
  11. 6y agoscalesscales 1.1.1 fixes palette inversion and adds oob_keep()
  12. 6y agoscalesscales 1.1.0 reorganises breaks and labels into a naming scheme

Frequently asked questions

What is the difference between comtradr and scales?

Both compete on the same themes — r — within Analytics. 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 scales?

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 scales?

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