← Back to home
Comparison · Analytics

ggstats vs treasury

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

Shared themes:r-package

ggstats vs treasury: at a glance

Featureggstatstreasury
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, data-visualization, likert, regression-modelstreasury-rates, fixed-income, r-package, api-wrapper
Last editorial update1h ago3h ago
WebsiteVisit →Visit →

What is ggstats?

ggstats keeps widening what a coefficient or Likert plot can be

ggstats extends ggplot2 with statistical plotting: model coefficient plots, Likert and diverging bar charts, proportion geometries and the helpers that make them behave. Recent releases have added an experimental gglikert_side(), left and right total columns for gglikert(), and survey-object support across the Likert family. Development is steady and CRAN-paced, with releases every two to three months.

Read the full ggstats trajectory →

What is treasury?

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

Read the full treasury trajectory →

ggstats vs treasury: editorial side-by-side

G
ggstats
ANALYTICS
0.0

ggstats keeps widening what a coefficient or Likert plot can be

◆ Current state

ggstats extends ggplot2 with statistical plotting: model coefficient plots, Likert and diverging bar charts, proportion geometries and the helpers that make them behave. Recent releases have added an experimental gglikert_side(), left and right total columns for gglikert(), and survey-object support across the Likert family. Development is steady and CRAN-paced, with releases every two to three months.

◆ Where it's heading

Two long-running threads. The coefficient side has been consolidating — ggcoef_multinom() and ggcoef_multicomponents() soft-deprecated in favour of a unified ggcoef_model() with group_by, plus new ggcoef_dodged() and ggcoef_faceted() variants. The Likert side keeps expanding outward instead, absorbing survey objects, total columns and side-by-side layouts. Underneath both is a steady tax of ggplot2 and vctrs compatibility work, including tracking the geom_errorbarh() deprecation in ggplot2 4.0.0.

◆ Prediction

Expect gglikert_side() to lose its experimental status once its interface settles, and the deprecated multinomial entry points to be removed in a future release now that ggcoef_model() covers their cases.

T
treasury
ANALYTICS
0.0

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

◆ Current state

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

◆ Where it's heading

Endpoint coverage looks essentially complete, so the work has moved to the metadata a downstream analyst needs to join and audit results — cusip and maturity_date on bill quotes, the feed's updated_at stamp, and the extrapolation factor behind 2002-2006 long-term rate estimates. Error handling is tightening in the same direction: an out-of-range month now fails with a message instead of quietly returning nothing. That is the profile of a wrapper moving from coverage to correctness, where the remaining bugs are the subtle ones that only surface in other people's locales.

◆ Prediction

Expect further column-level enrichment and input validation on the endpoints already covered rather than new data sources, since the structural pieces — data.table returns and caching — are already in place.

Alternatives to ggstats and treasury

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 ggstats or treasury.

See all ggstats alternatives → · See all treasury alternatives →

Recent activity from ggstats and treasury

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

  1. 1mo agotreasuryBill rates gain CUSIP and maturity date; locale bug fixed
  2. 4mo agotreasuryOptional response caching, one day by default
  3. 5mo agoggstatsgglikert_side() and total columns for Likert plots
  4. 7mo agoggstatsLikert functions accept survey objects
  5. 11mo agoggstatsTable output for ggcoef_compare(); x-axis limits harmonised
  6. 11mo agotreasuryRate functions renamed to singular for consistency
  7. 1y agotreasuryEvery function now returns a data.table
  8. 1y agoggstatsggstats 0.10.0
  9. 1y agoggstatsCoefficient plots unified around ggcoef_model() with grouping
  10. 1y agoggstatsDiverging and Likert geoms redesigned; connector geoms added
  11. 2y agotreasuryHQM, coupon-issue and breakeven inflation curves added

Frequently asked questions

What is the difference between ggstats and treasury?

Both compete on the same themes — r-package — within Analytics. ggstats and treasury 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 ggstats better than treasury?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggstats and treasury 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 Analytics products to evaluate alongside.

What are the best alternatives to ggstats?

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

What are the best alternatives to treasury?

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