Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No download of country attributes / documentation of match function #34

Closed
oliverfiala opened this issue Apr 24, 2020 · 8 comments
Closed

Comments

@oliverfiala
Copy link

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

@jpazvd
Copy link
Owner

jpazvd commented Apr 24, 2020 via email

@oliverfiala
Copy link
Author

Thanks, that works well!

@oliverfiala
Copy link
Author

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 oliverfiala reopened this Apr 27, 2020
@jpazvd
Copy link
Owner

jpazvd commented Apr 27, 2020 via email

@oliverfiala
Copy link
Author

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

@lcrawfurd
Copy link

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.

@ckrf
Copy link
Contributor

ckrf commented Jul 5, 2021

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.

This was referenced Jul 6, 2021
@ennoschroeder
Copy link

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

@jpazvd jpazvd closed this as completed in 1295d28 May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants