← Back to home
Comparison · Analytics

rnpn vs treasury

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

Shared themes:r-package

rnpn vs treasury: at a glance

Featurernpntreasury
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesphenology, api-client, ecological-data, data-cleaningtreasury-rates, fixed-income, r-package, api-wrapper
Last editorial update1h ago5h ago
WebsiteVisit →Visit →

What is rnpn?

The USA phenology data client rebuilt its entire stack and stopped handing users -9999 as a number.

rnpn is the R client for the USA National Phenology Network, retrieving observation records, phenometrics and gridded model layers. Version 1.3.0 in March 2025 replaced nearly all of its infrastructure at once — sp and raster dropped, terra made optional, XML swapped for xml2, plyr for dplyr, httr and curl for httr2 — and changed what functions return, with tibbles in place of data.tables and empty tibbles in place of NULL on error. The two releases since have completed the missing-value handling and restored performance lost in the transition.

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

rnpn vs treasury: editorial side-by-side

R
rnpn
ANALYTICS
0.0

The USA phenology data client rebuilt its entire stack and stopped handing users -9999 as a number.

◆ Current state

rnpn is the R client for the USA National Phenology Network, retrieving observation records, phenometrics and gridded model layers. Version 1.3.0 in March 2025 replaced nearly all of its infrastructure at once — sp and raster dropped, terra made optional, XML swapped for xml2, plyr for dplyr, httr and curl for httr2 — and changed what functions return, with tibbles in place of data.tables and empty tibbles in place of NULL on error. The two releases since have completed the missing-value handling and restored performance lost in the transition.

◆ Where it's heading

The package is being brought onto the current R stack and made honest about missing data, and those are the same project. Converting the -9999 sentinel to NA started in 1.3.0 for download functions and was extended to all columns in 1.4.1; the string "emptyvalue" got the same treatment. Beyond the migration, the feature additions are modest and specific to the domain, such as custom start and end dates for defining a phenometrics season.

◆ Prediction

With the dependency migration finished and sentinel handling now applied across all columns, the next releases most likely return to domain features and to fixes surfaced by the server side, which has already prompted work through migrations and backend moves. The removed progress indicator is an acknowledged regression that may come back.

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

See all rnpn alternatives → · See all treasury alternatives →

Recent activity from rnpn 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. 11mo agornpnSentinel -9999 now converted to NA across all columns
  4. 11mo agotreasuryRate functions renamed to singular for consistency
  5. 1y agotreasuryEvery function now returns a data.table
  6. 1y agornpnCustom season windows for phenometrics, and a speed regression fixed
  7. 1y agornpnDependency stack and return types replaced wholesale
  8. 1y agornpnBackfilled notes for seven earlier maintenance releases
  9. 2y agotreasuryHQM, coupon-issue and breakeven inflation curves added

Frequently asked questions

What is the difference between rnpn and treasury?

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

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

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