Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: reshape WDI from wide to long format

From   JP Azevedo <>
Subject   Re: st: reshape WDI from wide to long format
Date   Thu, 2 Jun 2011 21:27:01 -0400

Hello Sami,

The stata module wbopendata does have an embeded option that does the
reshape in one shot. You just need to enable to long option.

Try the example below:

wbopendata, language(en - English) topics(2 - Aid Effectiveness) long



On Thu, Jun 2, 2011 at 10:09 AM, Sami Alameen <> wrote:
> Hi JP,
> Thanks for feedback. I should add that I tried to find a routine that
> would work in one shot, because that data base is easier to download
> in wide format (the WB provides it in a compiled file) and that it get
> updated very often that I wanted to automate the process somehow. That
> seemed very optimistic.
> I ended up trying the
> 1. wbopendata, and
> 2. the procedure on:
> (I split
> the data by every 10 years)
> I then merged the files.
> My PC couldn't do method 2 in one shot, so I had to break the data down.
> The remaining is still the naming of the data, I think the WB should
> do something with that regard to promote the use of such data base.
> All the best
> Sami
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index