← Back to home
Comparison · Analytics

anyflights vs gratia

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

Shared themes:r-package

anyflights vs gratia: at a glance

Featureanyflightsgratia
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesr-package, aviation-data, teaching-datasets, data-qualitygam, mgcv, ggplot2, statistical-graphics
Last editorial update54m ago2h ago
WebsiteVisit →Visit →

What is anyflights?

A nycflights13 generator whose recent work is all about the data being right.

anyflights builds nycflights13-style datasets for any US airport and year, downloading flight, weather, airline, airport, and plane tables and optionally packaging them. The four visible releases span 2022 to 2025 and are dominated by keeping those downloads working. The most recent fixes a timezone leak and gaps in hourly weather data.

Read the full anyflights trajectory →

What is gratia?

The tidy front-end for GAMs, now stable enough that upstream ggplot2 sets its release calendar.

gratia wraps mgcv-fitted generalized additive models in tidy data frames and ggplot2 graphics — smooth_estimates(), fitted_values(), derivatives(), draw() and appraise() cover evaluation, prediction and diagnostics. The API reached its intended shape at 0.9.0, when every generated column was renamed to a dot-prefixed form, and 0.10.0 added conditional_values() for covariate-conditional prediction plots.

Read the full gratia trajectory →

anyflights vs gratia: editorial side-by-side

A
anyflights
ANALYTICS
0.0

A nycflights13 generator whose recent work is all about the data being right.

◆ Current state

anyflights builds nycflights13-style datasets for any US airport and year, downloading flight, weather, airline, airport, and plane tables and optionally packaging them. The four visible releases span 2022 to 2025 and are dominated by keeping those downloads working. The most recent fixes a timezone leak and gaps in hourly weather data.

◆ Where it's heading

The function surface has been stable since 0.3; everything since concerns the fragility of the upstream sources. Broken URLs for airline data, download failures needing a session-timeout hint, planes data that stopped resolving, and weather values recorded only once an hour have each taken a release. Contributions come from teaching-adjacent users, which fits a package whose main use is generating course datasets.

◆ Prediction

Expect the next release to follow another upstream data-source change rather than to add a table or an argument.

G
gratia
ANALYTICS
0.0

The tidy front-end for GAMs, now stable enough that upstream ggplot2 sets its release calendar.

◆ Current state

gratia wraps mgcv-fitted generalized additive models in tidy data frames and ggplot2 graphics — smooth_estimates(), fitted_values(), derivatives(), draw() and appraise() cover evaluation, prediction and diagnostics. The API reached its intended shape at 0.9.0, when every generated column was renamed to a dot-prefixed form, and 0.10.0 added conditional_values() for covariate-conditional prediction plots.

◆ Where it's heading

The package has moved through a long rewrite cycle and out the other side. Successive releases replaced evaluate_smooth() with smooth_estimates(), rebuilt draw() on top of it, then renamed the entire output vocabulary to avoid colliding with user variables. That work is finished; 0.11.1 is driven almost entirely by ggplot2 4.0.0 compatibility, with new mgcv family support for quantile residuals riding along. Development now tracks upstream breakage rather than internal redesign.

◆ Prediction

Expect the next releases to continue absorbing ggplot2 4.x and mgcv changes, with incremental family coverage in quantile_residuals() as the visible new work. The entries give no signal on which mgcv families come next.

Alternatives to anyflights and gratia

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 anyflights or gratia.

See all anyflights alternatives → · See all gratia alternatives →

Recent activity from anyflights and gratia

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

  1. 11mo agogratiaggplot2 4.0.0 compatibility, plus four more quantile-residual families
  2. 1y agoanyflightsWeather output pinned to GMT and hourly gaps filled
  3. 1y agogratiaconditional_values() replaces vis.gam for conditional prediction plots
  4. 2y agogratiaparametric_effects() joins the dot-prefix rename; LSS families begin
  5. 2y agogratiaEvery generated column gains a dot prefix
  6. 2y agoanyflightsPlanes data downloads restored
  7. 3y agogratiaReal variable names in smooth_samples(), plus dplyr 1.1.0 fixes
  8. 4y agoanyflightsAirline data URLs fixed and CI moved to GitHub Actions
  9. 4y agoanyflightsProgress reporting and faster weather retrieval
  10. 4y agogratiaM1 example output fixes and confint tibble returns

Frequently asked questions

What is the difference between anyflights and gratia?

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

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

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

What are the best alternatives to gratia?

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