pipr
Allows R users to compute poverty and inequality indicators for more than 160 countries and regions from the World Bank's database of household surveys.
https://github.com/worldbank/pipr
Category: Sustainable Development
Sub Category: Population and Poverty
Keywords
global-poverty poverty r worldbank
Last synced: about 10 hours ago
JSON representation
Repository metadata
R client to the PIP API
- Host: GitHub
- URL: https://github.com/worldbank/pipr
- Owner: worldbank
- License: other
- Created: 2022-03-16T08:42:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-28T17:42:55.000Z (10 days ago)
- Last Synced: 2025-09-02T13:01:51.704Z (6 days ago)
- Topics: global-poverty, poverty, r, worldbank
- Language: R
- Homepage: https://worldbank.github.io/pipr
- Size: 4.41 MB
- Stars: 20
- Watchers: 7
- Forks: 4
- Open Issues: 19
- Releases: 3
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
README.Rmd
--- output: github_document --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) ``` # pipr [](https://github.com/worldbank/pipr/actions?workflow=R-CMD-check) [](https://github.com/worldbank/pipr/actions) [](https://github.com/worldbank/pipr/actions) [](https://app.codecov.io/gh/worldbank/pipr?branch=main) [](https://lifecycle.r-lib.org/articles/stages.html#stable) [](https://github.com/worldbank/pipr/actions/workflows/R-CMD-check.yaml) [](https://app.codecov.io/gh/worldbank/pipr) The `pipr` package allows R users to compute poverty and inequality indicators for more than 160 countries and regions from the World Bank’s database of household surveys. It does so by accessing the Poverty and Inequality Platform (PIP) API. PIP is a computational tool that allows users to estimate poverty rates for regions, sets of countries or individual countries, over time and at any poverty line. ## Installation You can install the development version from [GitHub](https://github.com/) with: ``` r # From CRAN install.packages("devtools") # From Github devtools::install_github("worldbank/pipr") ``` ## Example This is a basic example that shows how to retrieve some key poverty and inequity statistics. ### Retrieve statistics ```{r example, warning=FALSE, message=FALSE} library(dplyr) library(pipr) df <- get_stats(country = "ALB") glimpse(df) ``` ### Access data dictionary ```{r} get_aux("dictionary") ``` ## Citation To cite package `pipr` in publications use: ``` Tony Fujs, Aleksander Eilertsen, Ronak Shah and R. Andrés Castañeda (2022). pipr: Client for the PIP API. https://github.com/worldbank/pipr, https://worldbank.github.io/pipr/. ``` A BibTeX entry for LaTeX users is ``` @Manual{, title = {pipr: Client for the PIP API}, author = {Tony Fujs and Aleksander Eilertsen and Ronak Shah and R. Andrés Castañeda}, year = {2022}, note = {https://github.com/worldbank/pipr,https://worldbank.github.io/pipr/}, } ```
Owner metadata
- Name: World Bank Group
- Login: worldbank
- Email: github@worldbank.org
- Kind: organization
- Description: World Bank Repository for Data Products and tools. Content does not necessarily represent official World Bank Group positions, policies, recommendations, etc.
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/6454132?v=4
- Repositories: 182
- Last ynced at: 2023-08-06T00:01:50.096Z
- Profile URL: https://github.com/worldbank
GitHub Events
Total
- Watch event: 7
- Delete event: 2
- Issue comment event: 2
- Push event: 37
- Pull request review comment event: 1
- Pull request review event: 3
- Pull request event: 16
- Create event: 7
Last Year
- Watch event: 7
- Delete event: 2
- Issue comment event: 2
- Push event: 37
- Pull request review comment event: 1
- Pull request review event: 3
- Pull request event: 16
- Create event: 7
Committers metadata
Last synced: about 1 month ago
Total Commits: 208
Total Committers: 7
Avg Commits per committer: 29.714
Development Distribution Score (DDS): 0.678
Commits in past year: 61
Committers in past year: 3
Avg Commits per committer in past year: 20.333
Development Distribution Score (DDS) in past year: 0.262
Name | Commits | |
---|---|---|
Tony Fujs | t****s@g****m | 67 |
giorgiacek | g****a@g****m | 45 |
Aleksander Eilertsen | a****n@w****g | 36 |
Ronak Shah | s****7@y****n | 27 |
R.Andres Castaneda | a****a@w****g | 21 |
Andres | a****a@w****g | 9 |
Tony Henri Mathias Jany Fujs | t****s@w****g | 3 |
Committer domains:
- worldbank.org: 4
- yahoo.in: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 33
Total pull requests: 59
Average time to close issues: 20 days
Average time to close pull requests: about 2 months
Total issue authors: 8
Total pull request authors: 5
Average comments per issue: 0.39
Average comments per pull request: 0.51
Merged pull request: 47
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 16
Past year average time to close issues: N/A
Past year average time to close pull requests: 17 days
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.19
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- tonyfujs (13)
- Aeilert (12)
- shahronak47 (3)
- qq474849277 (1)
- msgoussi (1)
- randrescastaneda (1)
- morkor (1)
- ryancbriggs (1)
Top Pull Request Authors
- tonyfujs (20)
- giorgiacek (14)
- shahronak47 (12)
- Aeilert (7)
- randrescastaneda (6)
Top Issue Labels
- enhancement (14)
- documentation (3)
- bug (2)
Top Pull Request Labels
- enhancement (5)
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
proxy.golang.org: github.com/worldbank/pipr
- Homepage:
- Documentation: https://pkg.go.dev/github.com/worldbank/pipr#section-documentation
- Licenses: other
- Latest release: v0.0.4 (published almost 3 years ago)
- Last Synced: 2025-09-06T15:04:42.224Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
Dependencies
- R >= 3.5.0 depends
- attempt * imports
- cachem * imports
- curl * imports
- data.table * imports
- httr * imports
- jsonlite * imports
- memoise * imports
- purrr * imports
- tibble * imports
- callr * suggests
- covr * suggests
- knitr * suggests
- markdown * suggests
- rmarkdown * suggests
- spelling * suggests
- testthat >= 3.0.0 suggests
- actions/checkout v2 composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
- actions/checkout v2 composite
- r-lib/actions/pr-fetch v1 composite
- r-lib/actions/pr-push v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-renv v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
Score: -Infinity