← Back to home
Comparison · Analytics

incase vs rtrek

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

Shared themes:r-package

incase vs rtrek: at a glance

Featureincasertrek
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-wrangling, recoding, tidyverse, api-deprecationstar-trek, web-scraping, datasets, api-client
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is incase?

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

Read the full incase trajectory →

What is rtrek?

A Star Trek data package that became a Memory Alpha web client and has been patching scrapers ever since.

rtrek bundles Star Trek datasets — book series, timelines, episode transcripts, species and homeworlds, map tile sets — and layers live retrieval on top through memory_alpha() and memory_beta() plus their ma_* and mb_* helpers. Recent releases are almost entirely repairs to that retrieval layer as the source wikis change their page structure.

Read the full rtrek trajectory →

incase vs rtrek: editorial side-by-side

I
incase
ANALYTICS
0.0

A safer case_when that keeps hardening its guarantees while realigning to tidyverse naming.

◆ Current state

incase supplies in_case(), switch_case(), grep_case() and fn_case() as vectorised recoding functions in the dplyr::case_when idiom, with _fct and _list variants that return factors or lists instead of forcing atomic type conversion. The 0.4.0 release deprecates the undotted preserve, default and ordered arguments in favour of dotted forms, starting a removal clock, and adds .exhaustive to error on unmatched inputs.

◆ Where it's heading

The arc is consistently toward catching recoding mistakes at the call site rather than letting them pass silently. Early releases broadened how a match can be expressed — pattern matching, function application, factor and list returns. Recent work has shifted to guarantees about the result: correct factor level ordering relative to .default, and now an exhaustiveness check. Notably 0.4.0 reverses the 0.3.2 decision to accept arguments with or without dots, trading that flexibility for namespace safety against user-supplied case names.

◆ Prediction

The deprecation warnings introduced in 0.4.0 point to a follow-up release that removes the undotted arguments outright. Whether .exhaustive eventually becomes the default is unclear from these entries.

R
rtrek
ANALYTICS
0.0

A Star Trek data package that became a Memory Alpha web client and has been patching scrapers ever since.

◆ Current state

rtrek bundles Star Trek datasets — book series, timelines, episode transcripts, species and homeworlds, map tile sets — and layers live retrieval on top through memory_alpha() and memory_beta() plus their ma_* and mb_* helpers. Recent releases are almost entirely repairs to that retrieval layer as the source wikis change their page structure.

◆ Where it's heading

The package's centre of gravity shifted once, at 0.2.0, from shipping static data to querying Memory Alpha and Memory Beta at runtime. Everything since has been the maintenance bill for that decision: HTML update fixes, parser improvements, portal retrieval bugs. Note that version numbers on this feed do not track time — 0.2.5 is stamped a year before 0.1.0, and three tags were backfilled within four minutes in November 2020 — so neither rank nor version ordering here indicates release sequence.

◆ Prediction

Expect the next release to fix retrieval against another Memory Alpha layout change, which is what the last four have done. The entries give no indication of new datasets or functions in progress.

Alternatives to incase and rtrek

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 incase or rtrek.

See all incase alternatives → · See all rtrek alternatives →

Recent activity from incase and rtrek

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

  1. 11mo agoincaseDotted arguments and an .exhaustive matching check
  2. 1y agortrekMemory Alpha series portal retrieval fix
  3. 1y agortrekrtrek 0.5.1 release
  4. 2y agortrekParser improvements for wiki retrieval
  5. 2y agortrekDead external content and data dependencies removed
  6. 2y agoincaseDotted and undotted arguments both accepted
  7. 5y agoincaseFix NULL return when no condition matches
  8. 5y agoincaseFactor and list return families arrive
  9. 5y agoincaseDrop unused stats import to clear a check NOTE
  10. 5y agoincasePattern and function-based matching families added
  11. 5y agortrekFixes for source website HTML changes
  12. 5y agortrekMemory Alpha and Memory Beta web APIs added

Frequently asked questions

What is the difference between incase and rtrek?

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

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

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

What are the best alternatives to rtrek?

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