← Back to home
Comparison · Analytics

comtradr vs rgbif

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

comtradr vs rgbif: at a glance

Featurecomtradrrgbif
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themestrade data, api wrapper, un comtrade, error handlinggbif, biodiversity-data, bulk-downloads, sql-queries
Last editorial update5h ago1h ago
WebsiteVisit →Visit →

What is comtradr?

comtradr's 1.0 line is a long tail of patches against a brittle UN trade API.

comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.

Read the full comtradr trajectory →

What is rgbif?

rgbif is steadily pushing users off paged searching and onto real downloads.

rgbif ships several times a year and the recent releases cluster around downloads. 3.8.1 added `occ_download_sql()` for SQL-based occurrence downloads; 3.8.2 added DOI-to-download-key resolution and institutionKey downloads; 3.8.3 relayed GBIF's new throttling of bulk paging through `occ_search()` with a message pointing users at `occ_download()`; 3.8.5 added a family of `occ_download_stats_*()` functions plus multiple-taxonomy and verbatim-extension downloads. Alongside that, `name_backbone()` moved to GBIF API v2, and 3.8.0 soft-deprecated `occ_data()`.

Read the full rgbif trajectory →

comtradr vs rgbif: editorial side-by-side

C
comtradr
ANALYTICS
2.5

comtradr's 1.0 line is a long tail of patches against a brittle UN trade API.

◆ Current state

comtradr wraps the UN Comtrade API for international trade data in R, handling authentication, reference tables, caching and bulk downloads. The entire visible window is the 1.0 patch series: six releases, most of them repairs. The substantive additions are a variable-metadata reference table and automatic request splitting.

◆ Where it's heading

The work is defensive, shaped by the API's constraints rather than by a roadmap. The 1.0.6 fix is representative: Comtrade rejects URLs longer than about 2000 characters, so the package now detects that before the request and transparently splits and recombines it. Running alongside is steady dependency hygiene, most recently swapping poorman for dplyr ahead of a CRAN archival.

◆ Prediction

The release pattern points to more of the same, with error-message and edge-case repairs as users hit new API limits, rather than new endpoints.

R
rgbif
ANALYTICS
0.0

rgbif is steadily pushing users off paged searching and onto real downloads.

◆ Current state

rgbif ships several times a year and the recent releases cluster around downloads. 3.8.1 added `occ_download_sql()` for SQL-based occurrence downloads; 3.8.2 added DOI-to-download-key resolution and institutionKey downloads; 3.8.3 relayed GBIF's new throttling of bulk paging through `occ_search()` with a message pointing users at `occ_download()`; 3.8.5 added a family of `occ_download_stats_*()` functions plus multiple-taxonomy and verbatim-extension downloads. Alongside that, `name_backbone()` moved to GBIF API v2, and 3.8.0 soft-deprecated `occ_data()`.

◆ Where it's heading

Two things are happening at once. GBIF is discouraging bulk retrieval through the search API, and rgbif is building out the download path fast enough to absorb the traffic — SQL queries, DOI round-tripping, format description, and now statistics about the downloads themselves. Metadata coverage has expanded in parallel, with a dozen `dataset_*()` functions in 3.7.9 and GRSciColl institution search in 3.8.3. The deprecations are consistent: `occ_data()`, `occ_facet()`, `occ_count(type=)` all retired in favour of narrower replacements.

◆ Prediction

The download surface is where the next additions will land — likely more SQL-download tooling and further statistics endpoints, following 3.8.1 and 3.8.5.

Alternatives to comtradr and rgbif

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 comtradr or rgbif.

See all comtradr alternatives → · See all rgbif alternatives →

Recent activity from comtradr and rgbif

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

  1. 13d agocomtradrLong code lists split automatically to avoid HTTP 414 errors
  2. 4mo agorgbifrgbif 3.8.5 adds occurrence download statistics functions
  3. 8mo agocomtradravailable_variables reference table exposes API metadata
  4. 8mo agorgbifrgbif 3.8.4 moves name matching to GBIF API v2
  5. 10mo agocomtradrISO alpha-2 codes added to reference tables
  6. 11mo agorgbifrgbif 3.8.3 adds GRSciColl search, relays GBIF paging throttle
  7. 1y agorgbifrgbif 3.8.2 resolves download DOIs to keys
  8. 1y agocomtradrPatch restores tidy_cols after a regression
  9. 1y agorgbifrgbif 3.8.1 adds SQL-based occurrence downloads
  10. 1y agocomtradrFixes for tidy_cols argument and bulk small-file downloads
  11. 2y agocomtradrCache relocated to comply with CRAN policy
  12. 2y agorgbifrgbif 3.8.0 soft-deprecates occ_data(), adds download describe

Frequently asked questions

What is the difference between comtradr and rgbif?

They serve adjacent needs but don't currently overlap on shipped themes. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is comtradr better than rgbif?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. comtradr is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to comtradr?

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

What are the best alternatives to rgbif?

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