← Back to home
Comparison · Infra & APIs

dialr vs states

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

dialr vs states: at a glance

Featuredialrstates
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesphone-numbers, libphonenumber, rjava, r-packagepolitical-science, panel-data, country-codes, datasets
Last editorial update1h ago3h ago
WebsiteVisit →Visit →

What is dialr?

The R phone-number package stopped only parsing numbers and started asking them where they are.

dialr wraps Google's libphonenumber through rJava, giving R a phone vector class that parses, validates and formats international numbers. It has been quiet since August 2022, when the last release removed a pathology where Java would freeze after enough invalid inputs. The package covers parsing, validation, formatting, and the metadata lookups added in 0.3.0.

Read the full dialr trajectory →

What is states?

State-panel tooling holding steady since its 2020 data and ergonomics release.

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

Read the full states trajectory →

dialr vs states: editorial side-by-side

D
dialr
INFRA · APIS
0.0

The R phone-number package stopped only parsing numbers and started asking them where they are.

◆ Current state

dialr wraps Google's libphonenumber through rJava, giving R a phone vector class that parses, validates and formats international numbers. It has been quiet since August 2022, when the last release removed a pathology where Java would freeze after enough invalid inputs. The package covers parsing, validation, formatting, and the metadata lookups added in 0.3.0.

◆ Where it's heading

Two forces shape the history. One is expansion into what libphonenumber knows beyond the number itself — carrier, geocode, timezone — which happened once, in 2019, and has not been extended since. The other is the ongoing cost of being a Java wrapper inside an R tidyverse: rJava initialisation moved so the :: form works, phone vectors reclassified when tibble 3.0.0 changed how it treats list-based classes, and repeated performance work to make crossing the Java boundary tolerable. The maintainer has floated moving the phone class onto vctrs but has not.

◆ Prediction

The vctrs migration is the one change the maintainer has explicitly signalled, and the hard-deprecated one-shot functions were slated for removal in the next major release; three years of silence make neither imminent.

S
states
INFRA · APIS
0.0

State-panel tooling holding steady since its 2020 data and ergonomics release.

◆ Current state

states supplies the Gleditsch & Ward and Correlates of War state lists and the tooling to turn them into country-year or country-month panels, with plot_missing() for coverage checks. The substantive work landed in 2020; the releases since are compatibility fixes against ggplot2, dplyr, readr and testthat. The most recent entry is a single test repair.

◆ Where it's heading

The package has reached the point where its own data and API are settled and the release trigger is upstream churn in the tidyverse. What movement there is goes toward making the two state lists interchangeable, with the microstates coding carried from G&W onto the COW data as the clearest example, rather than toward new datasets.

◆ Prediction

The next release is most likely another compatibility pass; a data refresh would be the signal that the package is active again.

Alternatives to dialr and states

Other Infra & APIs 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 dialr or states.

See all dialr alternatives → · See all states alternatives →

Recent activity from dialr and states

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

  1. 0y agostatesplot_missing() test fixed for the next ggplot2
  2. 2y agostatesggplot2 and dplyr deprecation cleanup
  3. 2y agostatesBundled state data stripped to plain data frames
  4. 3y agodialrInvalid values short-circuit the Java parser, fixing a freeze
  5. 5y agodialrJava initialises on load, so :: calls work without library()
  6. 5y agostatesMicrostate coding for COW data and state_panel() shortcuts
  7. 6y agodialrR 4.0 bump and tests decoupled from libphonenumber data
  8. 6y agodialrPhone vectors work in tibbles again after the 3.0.0 change
  9. 7y agodialrCarrier, geocode, and timezone lookups added
  10. 7y agodialrTenfold rJava speedup and proper phone equality
  11. 7y agostatesSimpler defaults for state_panel() and plot_missing()

Frequently asked questions

What is the difference between dialr and states?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. dialr and states 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to dialr?

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

What are the best alternatives to states?

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