-
Notifications
You must be signed in to change notification settings - Fork 33
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
Retrieve multiple indicators at once #12
Comments
Hello @fmgithub2017 , sorry we don't have this. We could think of implementing it, however I am not sure that all the indicators will have the same dimensions, so it's not clear whether it would make sense to gather all the indicators in a single data frame. Anyway you can try it yourself! I've just tested this:
but, as you see in the comment, this fails on a missing indicator. Maybe you could then define a function for that that would also intercept the errors, etc... Let me know how it goes. |
Hey @mwouts , I appreciate very much the reply. The issue of dimensions you posed might be a real problem indeed. However, many databases have all the variables with the same dimension, which is the case of World Development Indicators and Doing Business, for instance. I guess the ones that do not, you could just leave an error and warning messages. Here is an example with 'pandas_datareader' module, in which the user can retrieve multiple or all indicators of a database: However, I would prefer to use your module 'world_bank_data' because it is faster, isn't it? Thank you |
Is it possible to retrieve multiple (or all) indicators at once? I believe it is a very important feature but I could not find a way to do that.
Thank you very much in advance, this module is awesome.
The text was updated successfully, but these errors were encountered: