← Back to home
Comparison · Analytics

incase vs worldbank

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

Shared themes:r-package

incase vs worldbank: at a glance

Featureincaseworldbank
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-wrangling, recoding, tidyverse, api-deprecationworld-bank, development-data, r-package, api-wrapper
Last editorial update50m ago5h 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 worldbank?

A World Bank data wrapper that keeps finding the places its own API can't reach.

worldbank provides R access to the World Bank's public data: World Development Indicators, the Poverty and Inequality Platform, project records, and the Finances One datasets. It settled its type contract early — always a data.frame, never a conditional tibble — and has since layered on opt-in request caching, multi-indicator queries, and query conveniences like most-recent-values and gap filling. The most recent addition sidesteps the API entirely, pulling the full WDI archive as a zip.

Read the full worldbank trajectory →

incase vs worldbank: 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.

W
worldbank
ANALYTICS
0.0

A World Bank data wrapper that keeps finding the places its own API can't reach.

◆ Current state

worldbank provides R access to the World Bank's public data: World Development Indicators, the Poverty and Inequality Platform, project records, and the Finances One datasets. It settled its type contract early — always a data.frame, never a conditional tibble — and has since layered on opt-in request caching, multi-indicator queries, and query conveniences like most-recent-values and gap filling. The most recent addition sidesteps the API entirely, pulling the full WDI archive as a zip.

◆ Where it's heading

Two threads run through the log. The first is query ergonomics: multiple indicators per call, mrv and gapfill parameters, regex search across the indicator catalog, a shorter wb_data() name that has since become the primary entry point. The second is coverage of things the standard API handles poorly — bulk download reaches footnote and series-time metadata the endpoints never expose, and PIP nowcasts and project records extend past the indicator tables most users start with. The maintainer runs the same infrastructure across their other data packages, and the caching design here is identical to what bbk and treasury received.

◆ Prediction

Expect the remaining rough edges of the World Bank's own API — inconsistent empty responses, metadata only available in bulk files — to keep driving releases, rather than a push into new data providers.

Alternatives to incase and worldbank

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 worldbank.

See all incase alternatives → · See all worldbank alternatives →

Recent activity from incase and worldbank

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

  1. 1mo agoworldbankEmpty queries return an empty frame instead of erroring
  2. 3mo agoworldbankBulk WDI download reaches metadata the API never exposes
  3. 5mo agoworldbankMost-recent-values and gap filling, plus project records
  4. 8mo agoworldbankTest suite stops caching queries for CRAN compliance
  5. 9mo agoworldbankOpt-in request caching with a one-day default
  6. 11mo agoincaseDotted arguments and an .exhaustive matching check
  7. 1y agoworldbankwb_data() added as an alias for wb_country_indicator()
  8. 2y agoincaseDotted and undotted arguments both accepted
  9. 5y agoincaseFix NULL return when no condition matches
  10. 5y agoincaseFactor and list return families arrive
  11. 5y agoincaseDrop unused stats import to clear a check NOTE
  12. 5y agoincasePattern and function-based matching families added

Frequently asked questions

What is the difference between incase and worldbank?

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

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

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