← Back to home
Comparison · Analytics

geodist vs socialmixr

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

geodist vs socialmixr: at a glance

Featuregeodistsocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesgeospatial, distance-calculation, zero-dependency, c-codecontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update43m ago8h ago
WebsiteVisit →Visit →

What is geodist?

geodist stays dependency-free and fast, and warns you when 'cheap' distances stop being honest.

geodist computes geodesic distances between coordinate pairs in C with no dependencies, offering several measures that trade accuracy for speed — including a 'cheap' approximation used by default. The API is small and largely finished; 0.1.0 added geodist_min() for nearest-match lookups and 0.1.1 is a compiler warning fix.

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

geodist vs socialmixr: editorial side-by-side

G
geodist
ANALYTICS
0.0

geodist stays dependency-free and fast, and warns you when 'cheap' distances stop being honest.

◆ Current state

geodist computes geodesic distances between coordinate pairs in C with no dependencies, offering several measures that trade accuracy for speed — including a 'cheap' approximation used by default. The API is small and largely finished; 0.1.0 added geodist_min() for nearest-match lookups and 0.1.1 is a compiler warning fix.

◆ Where it's heading

Development has been about making the speed-accuracy trade visible rather than hiding it. The 0.0.6 release added messages telling users to pick a different measure once the default cheap approximation is applied beyond 100km, where its error stops being negligible. Around that, the work is input handling — tibble support, better lon/lat column matching, vector inputs — and hardening the C code. It is a package that treats being small and correct as the feature.

◆ Prediction

Expect continued low-frequency maintenance: compiler warnings and geodesic source updates account for three of the last six releases, and the function surface has grown by only two entries in five years.

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 geodist 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 geodist or socialmixr.

See all geodist alternatives → · See all socialmixr alternatives →

Recent activity from geodist and socialmixr

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

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  3. 6mo agosocialmixrAge-group assignment and population lookup split out
  4. 1y agogeodistgeodist 0.1.1 clears a clang warning in geodesic.c
  5. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  6. 2y agogeodistgeodist 0.1.0 adds geodist_min() for nearest matches
  7. 2y agosocialmixrcontact_matrix() now takes survey objects only
  8. 2y agosocialmixrTest fixes for machine-precision failures
  9. 3y agogeodistgeodist 0.0.8 updates geodesic source, fixes clang warnings
  10. 5y agogeodistgeodist 0.0.7 improves lon/lat column matching and tibbles
  11. 5y agogeodistgeodist 0.0.6 warns when cheap distances exceed 100km
  12. 6y agogeodistgeodist 0.0.4 adds geodist_vec() for vector inputs

Frequently asked questions

What is the difference between geodist and socialmixr?

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

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

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