Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: reshape WDI from wide to long format


From   JP Azevedo <[email protected]>
To   [email protected]
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

Best,

JP




On Thu, Jun 2, 2011 at 10:09 AM, Sami Alameen <[email protected]> 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:
> http://dss.princeton.edu/online_help/analysis/reshape_wdi.htm (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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index