Skip to content
/ pip Public

Stata module to access World Bank’s Global Poverty and Inequality data

License

Notifications You must be signed in to change notification settings

worldbank/pip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip : Stata module to access World Bank’s Global Poverty and Inequality data

Description

World Bank PIP API Stata wrapper

Installation

From SSC (NOT AVAILABLE YET)

ssc install pip

From GitHub

We recommend installing the github Stata command by E. F. Haghish

net install github, from("https://haghish.github.io/github/")
github install worldbank/pip

If you get an error similar to the image below, it might be the case that downloading from Github is not available in your computer due to firewall restrictions. Try disconnecting from the VPN and installing {pip} again.

image

If none of the options above worked, you could still install pip manually following these steps,

  1. Click on the green icon "Clone or Download" above.
  2. Download the package as zip.
  3. Extract the files with extension .ado and .sthlp only, and place them in the directory c:/ado/plus/p
  4. type discard in Stata.

Troubleshooting

In case {pip} is not working correctly, try the following steps in order

  1. Uninstall {pip} by typing this
github uninstall pip
  1. Execute the following and see if {pip} is still installed somewhere in your computer
which pip

If it is installed, delete all the {pip} files from wherever they are in your computer until the command above returns error. The idea is to leave no trace of {pip} in your computer.

  1. Install {pip} again with the following code and check the version number. It should be the same as the most recent release
github install worldbank/pip
which pip
  1. Try to run it again and see if {pip} fails.
  2. If it is still failing, please run the code below--making sure your replace the commented line--and send the test.log file to [email protected]
log using "test.log", name(pip_test) text replace // this is in your cd
cret list
clear all
which pip
set tracedepth 4
set traceexpand on 
set traceindent on 
set tracenumber on
set trace on
cap noi // pip command that is not working
set trace off
log close pip_test

License

Creative Commons Attribution 4.0 International

Author

R.Andres Castaneda
The World Bank
[email protected]

Contributor

Tefera Bekele Degefu
The World Bank
[email protected]