Programmatic Access to Data and Statistics from the World Bank API
Overview
Search and download data from the World Bank Data API. Includes support for mutliple languages, access to annual, quarterly, and monthly data.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 25%1 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 67%
- Documented parameters
- 100%
- Return-value docs
- 83%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Commits over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/pachadotdev/wbstats on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Funding links: GitHub Sponsors, Buy Me a Coffee
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-08-14
Show all practicesHide 1 practice
Dependencies
Installing wbstats adds 9 packages (7 with compiled code, 8.7 MB of source tarballs). Heaviest: data.table 5.7 MB, openssl 1.1 MB, jsonlite 1.0 MB.
Code & Tests
Datasets
People & History
Previously maintained by Jesse Piburn (0.1 to 1.0.4).
Pick two releases to compare their code metrics.
- 1.2Latest
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2025-09-14
- 1.12025-09-14 · diff ↗ ·
removed 10 exports
wb, wbcache, wbcountries, wbdatacatalog, wbincome, wbindicators, wblending, wbsearch, wbsources, wbtopics - archivedRemoved from CRAN2025-08-25repeated policy violation On Internet access
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-12-05
- 1.0.4
- archivedRemoved from CRAN2020-10-13policy violations On Internet access, spamming members of the CRAN team
- 1.0.12020-07-26 · diff ↗ ·
added 11 exports
wb_cache, wb_countries, wb_data, wb_income_levels, wb_indicators, wb_languages, wb_lending_types, wb_regions, wb_search, wb_sources, wb_topics - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2016-04-22
- Total releases
- 7 / 10 yrs
- License
- Apache License 2.0 OSI · relicensed from MIT + file LICENSE in 1.1
- Minimum R
- ≥ 3.5
- Bundled data
- 681 KB / 1 file
- Download size
- 784 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("wbstats")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.11578/dc.20171025.1827.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.