← Back to home
Comparison · Analytics

PurpleAir vs rATTAINS

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

Shared themes:r-packageapi-wrapper

PurpleAir vs rATTAINS: at a glance

FeaturePurpleAirrATTAINS
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesair-quality, sensor-data, r-package, api-wrapperwater-quality, epa-data, r-package, api-wrapper
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is PurpleAir?

The R client for PurpleAir sensors keeps finding its time-averaging was wrong.

PurpleAir is a small R client for the PurpleAir air quality sensor API, covering sensor queries, historical readings, and — more recently — finding a sensor on the local network by IP address and id. Authentication has been simplified to an environment variable only, with the redundant key argument removed. The package is maintained reactively, and most of what ships is correctness work on the queries it already makes.

Read the full PurpleAir trajectory →

What is rATTAINS?

The R client for EPA water quality data spent two releases undoing its own promises about data shape.

rATTAINS wraps the EPA's ATTAINS API, which holds state water quality assessments and impaired-waters listings. The package reached 1.0.0 by promising stable, consistently rectangled return structures, then walked that promise back in 1.1.0 when it dropped the dependency doing the rectangling. As of 1.2.0 it also requires an API key, because ATTAINS itself began requiring one in May 2026.

Read the full rATTAINS trajectory →

PurpleAir vs rATTAINS: editorial side-by-side

P
PurpleAir
ANALYTICS
0.0

The R client for PurpleAir sensors keeps finding its time-averaging was wrong.

◆ Current state

PurpleAir is a small R client for the PurpleAir air quality sensor API, covering sensor queries, historical readings, and — more recently — finding a sensor on the local network by IP address and id. Authentication has been simplified to an environment variable only, with the redundant key argument removed. The package is maintained reactively, and most of what ships is correctness work on the queries it already makes.

◆ Where it's heading

The recurring theme is time aggregation. Weekly, monthly and yearly average intervals were wrong and fixed in one release; the weekly average was wrong again and fixed in the next. For an air quality package that is not incidental — averaging window is what turns a stream of sensor readings into an exposure estimate, and downstream analyses inherit the error silently. The other thread is failing earlier and more clearly: explicit errors for spatial inputs the sensor query does not accept, better index parsing so malformed requests never reach the API, and handling for history calls that return nothing. Local sensor discovery is the one genuine capability addition, opening a path that does not depend on the cloud API at all.

◆ Prediction

On this record, further aggregation and input-validation fixes are the likeliest next releases; whether local network access grows past discovery into full local data retrieval is not something the entries indicate.

R
rATTAINS
ANALYTICS
0.0

The R client for EPA water quality data spent two releases undoing its own promises about data shape.

◆ Current state

rATTAINS wraps the EPA's ATTAINS API, which holds state water quality assessments and impaired-waters listings. The package reached 1.0.0 by promising stable, consistently rectangled return structures, then walked that promise back in 1.1.0 when it dropped the dependency doing the rectangling. As of 1.2.0 it also requires an API key, because ATTAINS itself began requiring one in May 2026.

◆ Where it's heading

The direction is toward a thinner, lower-maintenance wrapper. Caching went in 0.1.4 when hoardr was archived, tidyjson and janitor went earlier, tibblify went in 1.1.0, and each removal handed a little more data-shaping responsibility back to the user — the current advice is to pass .unnest = FALSE and rectangle the results with whatever tidying package you prefer. Release cadence is slow and mostly reactive: upstream API terms, archived dependencies, and compatibility with test tooling account for most of the log. The package's centre of gravity is staying installable and honest about what ATTAINS returns rather than smoothing it over.

◆ Prediction

Given the pattern, the next release is likelier to be a compatibility or upstream-driven fix than new endpoint coverage; how the API key requirement affects users in scripted and CI contexts is the obvious open question the entries do not yet answer.

Alternatives to PurpleAir and rATTAINS

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 PurpleAir or rATTAINS.

See all PurpleAir alternatives → · See all rATTAINS alternatives →

Recent activity from PurpleAir and rATTAINS

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

  1. 1mo agorATTAINSATTAINS now requires an API key, and the package follows
  2. 3mo agoPurpleAirWeekly averages fixed again; API key argument dropped
  3. 8mo agorATTAINSThe tibblify dependency goes, and with it the stable data shapes
  4. 10mo agoPurpleAirLocal sensor discovery, and averaging intervals corrected
  5. 1y agorATTAINSTest suite updated for vcr v2
  6. 1y agoPurpleAirBounding box sensor queries fixed
  7. 3y agorATTAINS1.0.0 commits to stable return structures via tibblify
  8. 3y agorATTAINSCaching removed after hoardr was archived
  9. 4y agorATTAINSRequests retry on timeout, with offline detection

Frequently asked questions

What is the difference between PurpleAir and rATTAINS?

Both compete on the same themes — r-package, api-wrapper — within Analytics. PurpleAir and rATTAINS 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 PurpleAir better than rATTAINS?

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

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

What are the best alternatives to rATTAINS?

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