wbopendata icon indicating copy to clipboard operation
wbopendata copied to clipboard

No download of country attributes / documentation of match function

Open oliverfiala opened this issue 4 years ago • 8 comments

Hi, I have updated the Stata version just now after reading your blog post. First, let me say congratulation to all those new changes, what a helpful tool. However, I am not currently not able to download the full list of attributes (region, income level etc.) despite specifying the 'pull' option. For instance wbopendata, indicator(sp.pop.totl) full long clear only gives me countrycode, countryname, indicator and sp_pop_totl.

Also would it be possible to share an example on the new match option on GitHub?

Many thanks! Oliver

oliverfiala avatar Apr 24 '20 13:04 oliverfiala

Thanks for your interest. Please run the update of attributes beforehand by typing :

wbopendata, metadataoffline

From: oliverfiala [email protected] Sent: Friday, April 24, 2020 9:19 AM To: jpazvd/wbopendata [email protected] Cc: Subscribed [email protected] Subject: [jpazvd/wbopendata] No download of country attributes / documentation of match function (#34)

[External]

Hi, I have updated the Stata version just now after reading your blog posthttps://blogs.worldbank.org/opendata/new-release-wbopendata-stata-module?CID=WBW_AL_BlogNotification_EN_EXT. First, let me say congratulation to all those new changes, what a helpful tool. However, I am not currently not able to download the full list of attributes (region, income level etc.) despite specifying the 'pull' option. For instance wbopendata, indicator(sp.pop.totl) full long clear only gives me countrycode, countryname, indicator and sp_pop_totl.

Also would it be possible to share an example on the new match option on GitHub?

Many thanks! Oliver

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjpazvd%2Fwbopendata%2Fissues%2F34&data=02%7C01%7Cjazevedo%40worldbank.org%7C02a450fbd2d74610994c08d7e8521c55%7C31a2fec0266b4c67b56e2796d8f59c36%7C0%7C0%7C637233311710333976&sdata=t%2BsvQtkuIbwMxCQUJREnANHNAGupmVWtD%2B7SvGBGcQo%3D&reserved=0, or unsubscribehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHNJ6KJHN7PZQVPPGG3C7YLROGGVZANCNFSM4MQC7MUA&data=02%7C01%7Cjazevedo%40worldbank.org%7C02a450fbd2d74610994c08d7e8521c55%7C31a2fec0266b4c67b56e2796d8f59c36%7C0%7C0%7C637233311710343969&sdata=1tH1p25Y%2Bt3Hlaar9Dy5BjPgJxqp%2FhPP1fRigGlMTSo%3D&reserved=0.

jpazvd avatar Apr 24 '20 13:04 jpazvd

Thanks, that works well!

oliverfiala avatar Apr 24 '20 18:04 oliverfiala

Hi Joao, Could you I quickly clarify if the new version requires me to download the metadata in every relevant working directory or is there a way to ensure that this is downloaded once and used across various working directories? Thanks, Oliver

oliverfiala avatar Apr 27 '20 12:04 oliverfiala

It depends, when and how you ran wbopendata. You should only need to install it once in the root directly where wbopendata is.

In the stata command line, type:

which wbopendata cd “” (in general it should be something like: “c:\ado\plus\w\”) wbopendata, metadataoffline

That that should be it.

Best,

JP

From: oliverfiala [email protected] Sent: Monday, April 27, 2020 8:01 AM To: jpazvd/wbopendata [email protected] Cc: Joao Pedro Wagner De Azevedo [email protected]; Comment [email protected] Subject: Re: [jpazvd/wbopendata] No download of country attributes / documentation of match function (#34)

[External]

Hi Joao, Could you I quickly clarify if the new version requires me to download the metadata in every relevant working directory or is there a way to ensure that this is downloaded once and used across various working directories? Thanks, Oliver

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjpazvd%2Fwbopendata%2Fissues%2F34%23issuecomment-619938385&data=02%7C01%7Cjazevedo%40worldbank.org%7Ce4c58131f3f645c2351608d7eaa29e52%7C31a2fec0266b4c67b56e2796d8f59c36%7C0%7C0%7C637235856472481632&sdata=0ltCYXtbexbRPNoZ9vFDRcuTYBa4Yim%2FdNi3umoE0mk%3D&reserved=0, or unsubscribehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHNJ6KNSMYZ6GAUAGP5SY4TROVXWDANCNFSM4MQC7MUA&data=02%7C01%7Cjazevedo%40worldbank.org%7Ce4c58131f3f645c2351608d7eaa29e52%7C31a2fec0266b4c67b56e2796d8f59c36%7C0%7C0%7C637235856472481632&sdata=8CTzm7ZicFU0LDOHtgNSQdoVNcFLD2LPkKCFlAniY5w%3D&reserved=0.

jpazvd avatar Apr 27 '20 13:04 jpazvd

Thanks for getting back to quickly, very much appreciated. It still doesn't work completely - if I change to the ado directory and run wbopendata, it does work. Afterwards I can change to other locations and it still works. However, the next time I am starting Stata I have the same issue again and would need to go to to the ado folder first. This might be an issue on my end, but I wonder if you can replicate this as well? Oliver

oliverfiala avatar Apr 27 '20 17:04 oliverfiala

I'm having a similar issue with the new update, but when I run

wbopendata, metadataoffline

I get an error message saying

varlist not allowed

Thanks again for building this tool, it must have saved me and many other people hours of time.

lcrawfurd avatar Apr 30 '20 09:04 lcrawfurd

It doesn't look like exactly the same issue that @lcrawfurd and @oliverfiala were reporting, but with version 16.3, the 'full' option was not affecting which metadata were downloaded. This pull request addresses that issue.

ckrf avatar Jul 05 '21 13:07 ckrf

I run: wbopendata, metadataoffline Then: wbopendata, indicator(sp.pop.totl) full long clear But not all country attributes are downloaded. I want capital, longitude, and latitude, but can't get those variables. which wbopendata returns:

C:\Users\username\ado\plus\w\wbopendata.ado
*! v 16.3       8Jul2020               by Joao Pedro Azevedo

ennoschroeder avatar Dec 08 '21 21:12 ennoschroeder