← Back to home
Comparison · Analytics

nodbi vs spiro

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

Shared themes:ropensci

nodbi vs spiro: at a glance

Featurenodbispiro
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdocument-databases, json, duckdb, sqliteexercise-physiology, data-import, sports-science, ropensci
Last editorial update49m ago2h ago
WebsiteVisit →Visit →

What is nodbi?

One document API over six databases, and every release is spent absorbing their JSON engines' churn

nodbi presents a single document-store interface — docdb_create, docdb_query, docdb_update — over SQLite, DuckDB, PostgreSQL, MongoDB, CouchDB and Elasticsearch. The engineering reality behind that abstraction is that each backend's JSON support keeps moving, and the releases show it: jsonb_tree adopted as RSQLite 2.4.4 exposes it, json_tree reworked for DuckDB 1.3.0, then avoided entirely for DuckDB listfields because it was too slow. The 0.11.0 release in late 2024 is the one that changed the contract, making docdb_query() return columns of a single consistent type.

Read the full nodbi trajectory →

What is spiro?

Cardiopulmonary exercise test data in R, one metabolic cart vendor at a time.

spiro imports and processes cardiopulmonary exercise testing data in R, handling the file formats that metabolic carts from Cosmed, Cortex, Vyntus, and ZAN emit, then interpolating, smoothing, and summarizing them into comparable variables. The bulk of ongoing work is vendor format compatibility rather than analysis features — 0.2.4 fixed Cosmed imports failing in rare cases and Cortex imports on newer devices, and 0.2.2 added English-language Vyntus files after 0.1.2 added French ones. The analysis side, spiro_max(), spiro_smooth() and spiro_plot(), has been stable for some time.

Read the full spiro trajectory →

nodbi vs spiro: editorial side-by-side

N
nodbi
ANALYTICS
0.0

One document API over six databases, and every release is spent absorbing their JSON engines' churn

◆ Current state

nodbi presents a single document-store interface — docdb_create, docdb_query, docdb_update — over SQLite, DuckDB, PostgreSQL, MongoDB, CouchDB and Elasticsearch. The engineering reality behind that abstraction is that each backend's JSON support keeps moving, and the releases show it: jsonb_tree adopted as RSQLite 2.4.4 exposes it, json_tree reworked for DuckDB 1.3.0, then avoided entirely for DuckDB listfields because it was too slow. The 0.11.0 release in late 2024 is the one that changed the contract, making docdb_query() return columns of a single consistent type.

◆ Where it's heading

Two threads dominate. The first is performance, pursued backend by backend: fast direct NDJSON import moved from DuckDB-only to SQLite and PostgreSQL, query refactors chasing each DuckDB release, and the removal of expensive tree-walking where a cheaper path exists. The second is making results predictable — consistent column types, version checks on the database backend, clearer messages when a Postgres database does not exist yet or when column names contain the dots nodbi reserves for JSON paths.

◆ Prediction

Given that most recent releases are triggered by DuckDB and RSQLite version changes, the next one likely follows the same pattern — adopting a new JSON function or working around a slow one. The duplicate-_id handling added in 0.14.0 suggests NDJSON ingestion edge cases are the current active area.

S
spiro
ANALYTICS
0.0

Cardiopulmonary exercise test data in R, one metabolic cart vendor at a time.

◆ Current state

spiro imports and processes cardiopulmonary exercise testing data in R, handling the file formats that metabolic carts from Cosmed, Cortex, Vyntus, and ZAN emit, then interpolating, smoothing, and summarizing them into comparable variables. The bulk of ongoing work is vendor format compatibility rather than analysis features — 0.2.4 fixed Cosmed imports failing in rare cases and Cortex imports on newer devices, and 0.2.2 added English-language Vyntus files after 0.1.2 added French ones. The analysis side, spiro_max(), spiro_smooth() and spiro_plot(), has been stable for some time.

◆ Where it's heading

This is a mature rOpenSci package whose remaining work is dictated by other people's file formats. Each device firmware revision, each regional language variant, and each ggplot2 release generates maintenance, and that is what fills the changelog. The API itself settled early, with the 0.1.0 rOpenSci review pass renaming the protocol helpers to the pt_* prefix and 0.2.0 replacing the confusingly named spiro_import() with spiro_raw().

◆ Prediction

Expect the pattern to continue: import fixes as vendor formats shift and periodic plotting updates tracking ggplot2, with no indication of new analysis capability.

Alternatives to nodbi and spiro

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 nodbi or spiro.

See all nodbi alternatives → · See all spiro alternatives →

Recent activity from nodbi and spiro

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

  1. 1mo agospiroCosmed and Cortex import fixes for newer devices
  2. 8mo agonodbijsonb_tree adopted; $in string queries and duplicate _id handling fixed
  3. 1y agonodbiDuckDB version parsing and listfields fix
  4. 1y agonodbidocdb_query reworked for DuckDB 1.3.0
  5. 1y agonodbiNDJSON writing delegated to DuckDB's internal function
  6. 1y agospiroEnglish-language Vyntus files supported
  7. 1y agonodbiQuery results get consistent column types; fast NDJSON import reaches SQLite and Postgres
  8. 1y agonodbiQuery and file-import speedups via newer DuckDB features
  9. 3y agospiroR-devel compatibility and data frame printing fix
  10. 3y agospirospiro_raw() replaces the misleading spiro_import()
  11. 3y agospiroFrench Vyntus support and protocol duration control
  12. 3y agospirospiro 0.1.1

Frequently asked questions

What is the difference between nodbi and spiro?

Both compete on the same themes — ropensci — within Analytics. nodbi and spiro 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 nodbi better than spiro?

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

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

What are the best alternatives to spiro?

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