Download Data from the World Inequality Database
Overview
Download data from the online World Inequality Database directly into R. Data are retrieved from WID.world's online data service. The World Inequality Database is an extensive source on the historical evolution of the distribution of income and wealth both within and between countries. It relies on the combined effort of an international network of over a hundred researchers covering more than seventy countries from all continents.
Breaking changes
- Renamed the observation-level and country-series quality fields to
data_qualityandavg_quality, respectively. - Renamed the
score_filterargument toquality_filter. The former name is not retained as an alias. Named filters accept onlydata_qualityandavg_quality.
Improvements
- Every standard
download_wid()result now includesdata_quality. - Metadata results include both
data_qualityandavg_quality; filtering onavg_qualitywithout requesting full metadata returns the standard schema plusavg_quality. - Empty API and metadata responses preserve the documented output schemas, and unavailable quality values are represented by
NA.
Show all changes in 0.0.3Hide the rest of the changes in 0.0.3
- Updated tests, help, and the PDF demonstration for the new quality fields.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 10
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 67%
- 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
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/world-inequality-database/wid-r-tool on 2026-10-21.
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2026-02-20
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Download size
- 22 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("wid")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.