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

World bank IDS download script #1065

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

HarishC727
Copy link
Contributor

Created a download script to download the data for WorldBank International Debt Statistics.
Added Readme files for world bank IDS under statvar_imports

@HarishC727 HarishC727 marked this pull request as ready for review September 13, 2024 14:18
# limitations under the License.

import os
import logging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User absl module to logging like "from absl import logging"

end_year = datetime.date.today().year + 5

# Itterating each list to download the respective data.
for idx, indicator in enumerate(indicator_list):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Add try catch block and log error if any.
  2. Log once each indicator data load success to get to know the status.

@@ -0,0 +1 @@
bblocks

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include with version like bblocks==1.4.0

@HarishC727 HarishC727 changed the title Download script for world bank IDS World bank IDS download script Sep 24, 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 this pull request may close these issues.

3 participants