← Back to home
Comparison · Analytics

r-ledger vs socialmixr

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

r-ledger vs socialmixr: at a glance

Featurer-ledgersocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesplain-text-accounting, r-package, beancount, hledgercontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago5h ago
WebsiteVisit →Visit →

What is r-ledger?

ledger adds a Rust toolchain fallback, so beancount imports work whether or not the Python tooling is installed.

An R package that imports plain-text accounting files — ledger, hledger and beancount — into data frames. Releases are sparse and driven almost entirely by changes in the external command-line tools it shells out to: date format shifts, decimal mark handling, binaries being removed from upstream projects. The last two releases show more activity than the several years preceding them.

Read the full r-ledger trajectory →

What is socialmixr?

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

Read the full socialmixr trajectory →

r-ledger vs socialmixr: editorial side-by-side

R
r-ledger
ANALYTICS
0.0

ledger adds a Rust toolchain fallback, so beancount imports work whether or not the Python tooling is installed.

◆ Current state

An R package that imports plain-text accounting files — ledger, hledger and beancount — into data frames. Releases are sparse and driven almost entirely by changes in the external command-line tools it shells out to: date format shifts, decimal mark handling, binaries being removed from upstream projects. The last two releases show more activity than the several years preceding them.

◆ Where it's heading

The package's job is absorbing churn in an ecosystem it does not control, and the recent releases show that ecosystem fragmenting and then being backfilled. bean-report disappeared from beancount in 2020 and its toolchains were finally deprecated in v2.0.13; v2.1.1 responds to the arrival of rustledger by adding rledger and bean-query as explicit toolchain choices and making the beancount path fall back to rledger when bean-query is absent. The other steady thread is column parity — code, id and comment columns arriving one at a time across the three register functions, so that whichever toolchain a user has produces comparable output.

◆ Prediction

Expect the remaining deprecated toolchains to be removed outright, and further column-parity work so the rledger path returns the same fields as the established ones.

S
socialmixr
ANALYTICS
0.0

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

◆ Current state

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

◆ Where it's heading

The arc from 0.4.0 to 0.6.0 is decomposition: first extracting helpers like assign_age_groups(), then moving downloads out of the package, and now exposing every stage of matrix construction as its own verb. Breaking changes are accepted at each step — preserved empty age groups, arrays instead of xtabs, [N,Inf) labels — with the new class inheriting from list so existing $matrix access keeps working. The label change is explicitly aligned with the contactmatrix package.

◆ Prediction

Expect the deprecated dotted argument names and the remaining in-package download paths to be removed once the contactsurveys handoff completes, leaving contact_matrix() as a thin wrapper over the pipeline.

Alternatives to r-ledger and socialmixr

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 r-ledger or socialmixr.

See all r-ledger alternatives → · See all socialmixr alternatives →

Recent activity from r-ledger and socialmixr

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

  1. 2mo agor-ledgerrustledger supported as a beancount toolchain, with automatic fallback
  2. 3mo agosocialmixrContact matrices become a composable pipeline
  3. 4mo agor-ledgerbean-report toolchains deprecated; transaction code column imported
  4. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  5. 6mo agosocialmixrAge-group assignment and population lookup split out
  6. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  7. 2y agor-ledgerTransaction id column for beancount and hledger; date coercion aligned
  8. 2y agosocialmixrcontact_matrix() now takes survey objects only
  9. 2y agosocialmixrTest fixes for machine-precision failures
  10. 4y agor-ledgerrio moved from Imports to Suggests
  11. 6y agor-ledgerhledger date import fixed for newer hledger versions
  12. 6y agor-ledgerComma decimal marks and commodity prefixes parse correctly

Frequently asked questions

What is the difference between r-ledger and socialmixr?

They serve adjacent needs but don't currently overlap on shipped themes. r-ledger and socialmixr 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 r-ledger better than socialmixr?

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

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

What are the best alternatives to socialmixr?

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