← Back to home
Comparison · Analytics

discrim vs rvest

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

discrim vs rvest: at a glance

Featurediscrimrvest
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themestidymodels, discriminant analysis, parsnip extension, classificationr, web-scraping, html-parsing, headless-browser
Last editorial update54m ago3h ago
WebsiteVisit →Visit →

What is discrim?

discrim settled into a thin engine shim after handing its model definitions to parsnip.

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

Read the full discrim trajectory →

What is rvest?

rvest grew a real browser, turning a static scraper into a dynamic one.

rvest is the tidyverse's HTML scraping package. The 1.0.0 line rebuilt table parsing to mimic how browsers actually read tables, and 1.0.4 added read_html_live(), which drives a headless browser so JavaScript-rendered pages can be scraped at all. 1.0.5 is consolidation on that newer path.

Read the full rvest trajectory →

discrim vs rvest: editorial side-by-side

D
discrim
ANALYTICS
0.0

discrim settled into a thin engine shim after handing its model definitions to parsnip.

◆ Current state

discrim is the parsnip extension for discriminant analysis, exposing linear, quadratic, flexible and regularized variants through the tidymodels interface. Its model definition functions moved into parsnip itself in 0.2.0, leaving this package as the engine and prediction layer. The two most recent releases are a documentation fix and a single prediction bug.

◆ Where it's heading

The package built out method coverage early, adding quadratic discriminant analysis in 0.1.2, the sda and sparsediscrim engines in 0.1.3 and case weights in 1.0.0, then stopped growing. Handing definitions upstream to parsnip in 0.2.0 confirmed the shape: discrim is where engines are wired, not where the API lives. Cadence since 2022 is roughly one small fix a year.

◆ Prediction

Nothing in the entries points to new methods or engines; the next release is most likely another CRAN or prediction-path fix.

R
rvest
ANALYTICS
0.0

rvest grew a real browser, turning a static scraper into a dynamic one.

◆ Current state

rvest is the tidyverse's HTML scraping package. The 1.0.0 line rebuilt table parsing to mimic how browsers actually read tables, and 1.0.4 added read_html_live(), which drives a headless browser so JavaScript-rendered pages can be scraped at all. 1.0.5 is consolidation on that newer path.

◆ Where it's heading

The package has split into two modes: fast static parsing for ordinary documents, and a live browser session for client-rendered ones. Recent effort concentrates on hardening the live path, where page navigation and interaction bugs surface that never existed in static parsing.

◆ Prediction

Expect further fixes and documentation around read_html_live() as more scraping targets move rendering to the client.

Alternatives to discrim and rvest

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 discrim or rvest.

See all discrim alternatives → · See all rvest alternatives →

Recent activity from discrim and rvest

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

  1. 8mo agodiscrimFix for FDA models failing at prediction time
  2. 11mo agorvestrvest 1.0.5 fixes stale nodes after click navigation in LiveHTML
  3. 11mo agodiscrimDocumentation links updated to stay on CRAN
  4. 2y agorvestrvest 1.0.4 scrapes JavaScript pages via a live browser session
  5. 3y agorvestrvest 1.0.3 re-documents to fix .Rd HTML issues
  6. 4y agodiscrimCase weights enabled for flexible and linear discriminant models
  7. 4y agodiscrimModel definitions moved upstream into parsnip
  8. 4y agorvestrvest 1.0.2 returns empty tibbles for empty tables
  9. 5y agorvestrvest 1.0.1 parses blank rowspan and colspan as 1
  10. 5y agodiscrimsda and sparsediscrim engines added for LDA and QDA
  11. 5y agodiscrimdiscrim_quad() added; package relicensed to MIT
  12. 5y agorvestrvest 1.0.0 rewrites table parsing to match browser behaviour

Frequently asked questions

What is the difference between discrim and rvest?

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

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

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

What are the best alternatives to rvest?

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