← Back to home
Comparison · Infra & APIs

afcharts vs predictsr

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

afcharts vs predictsr: at a glance

Featureafchartspredictsr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesdata-visualisation, government-statistics, ggplot2, colour-palettesbiodiversity-data, api-client, data-portal, r-package
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is afcharts?

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

Read the full afcharts trajectory →

What is predictsr?

A single visible release: the PREDICTS data client patching its download path.

predictsr provides R access to the PREDICTS biodiversity database hosted on the Natural History Museum data portal. Only one release is visible in the feed, 0.2.1, which repairs an API error originating on the portal side and tightens the download path: temporary files are now cleaned up when a download fails, year comparisons no longer compare integers incorrectly, and SHA validation no longer fails on missing values. With one entry there is no cadence to read and no arc to describe.

Read the full predictsr trajectory →

afcharts vs predictsr: editorial side-by-side

A
afcharts
INFRA · APIS
0.0

UK government chart styling in ggplot2, chasing ggplot2 v4 and stretching its palette to five.

◆ Current state

afcharts supplies the UK Analysis Function's chart styling for ggplot2, as a theme, colour and fill scales, and a use_afcharts() call that applies the styling globally. Version 0.5.1 extends the sequential palette to five shades so it can carry quintile data such as deprivation bands, renames the na_colour argument to na.value, and adds a reset argument to switch the styling back off. The package began as a first release derived from sgplot and has had three releases in roughly two years.

◆ Where it's heading

The work splits between palette design and keeping the styling composable. On the design side the sequential palette growing to five shades is driven by a specific reporting need rather than aesthetics, since quintiles are a standard unit in UK official statistics. On the mechanical side, the na.value rename was forced by ggplot2 v4.0.1, theme_af() now respects options set by an earlier use_afcharts() call, and a reset argument acknowledges that global styling needs an off switch. These are the problems a styling package hits once people use it inside larger documents.

◆ Prediction

Expect continued adjustment to ggplot2 v4, since the na.value rename is unlikely to be the only argument affected, and further palette work driven by the reporting formats government analysts actually publish. As a sibling to aftables in the same Analysis Function family, it is likely to keep tracking that guidance rather than setting its own direction.

P
predictsr
INFRA · APIS
0.0

A single visible release: the PREDICTS data client patching its download path.

◆ Current state

predictsr provides R access to the PREDICTS biodiversity database hosted on the Natural History Museum data portal. Only one release is visible in the feed, 0.2.1, which repairs an API error originating on the portal side and tightens the download path: temporary files are now cleaned up when a download fails, year comparisons no longer compare integers incorrectly, and SHA validation no longer fails on missing values. With one entry there is no cadence to read and no arc to describe.

◆ Where it's heading

What can be said from a single release is that the package's failure modes are concentrated where it meets the data portal rather than in its own analysis code, and that the fixes are the kind found by users hitting real downloads: leftover temporary files, checksum validation tripping over NAs, an upstream API change. The adoption of the air formatter and a GitHub Actions check in the same release suggests maintenance tooling being put in place rather than a feature programme.

◆ Prediction

Too little is visible here to predict a direction with any confidence. The one signal worth noting is that this release was largely reactive to a portal-side change, so future releases are likely to track the data portal's behaviour rather than follow a roadmap of the package's own.

Alternatives to afcharts and predictsr

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 afcharts or predictsr.

See all afcharts alternatives → · See all predictsr alternatives →

Recent activity from afcharts and predictsr

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

  1. 2mo agopredictsrData portal downloads repaired and cleaned up on failure
  2. 5mo agoafchartsSequential palette reaches five shades for quintile data
  3. 1y agoafchartsNamespace and argument-passing fixes
  4. 1y agoafchartsFirst release, derived from sgplot

Frequently asked questions

What is the difference between afcharts and predictsr?

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

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

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

What are the best alternatives to predictsr?

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