Skip to content

taimur1871/worldbank_data_dashboard

Repository files navigation

Worldbank Data Dashboard

Introduction

This is a demo app meant to get population related data from World Bank Website and display it as a table. It can be refactored or expanded to include other available databases. It is also possible to add data visualizations to this app.

The idea is to build a framework which can then be easily used by anyone to build simple data apps.

Environment

  • fastapi 0.63.0
  • gunicorn 20.0.4
  • Jinja2 2.11.2
  • pandas 1.1.4
  • requests 2.22.0
  • uvicorn 0.13.3
  • wbgapi 1.0.5

Usage

There are two possible ways to use this app

  1. Run Locally To run the app locally create a clone of the app. Then change the port number in app.py to any other than 80 (default port for internet access). Install requirements by using "pip install requirements.txt" Start app by typing "python app.py" in terminal or command shell.
  2. Run Using Docker It is also possible to create a docker container. Just Open the folder in terminal or command shell. Use the command docker build -t <app_name> . Once the app is built use the command docker run --rm --name <app_name_running> -p {local_port}:{docker_image_port} -ti <container_name>

Deployment

The best way to deploy this app is to use a serverless service such as AWS Farget or GCP CloudRun. To do that simply build the docker container and upload it to the Cloud repository. Then follow the instructions on these services to deploy the container. (GCP instructions can be found here https://cloud.google.com/run/docs/quickstarts/build-and-deploy/python)

Automating Deployment

It is also possible to automate the process by using cloudbuild or similar services.

Sources

The following resource were used for this project.

Other Possible Databases

The following is a list of other databases that can be explored in future

1 World Development Indicators 206 2 Worldwide Governance Indicators 1444 3 Subnational Malnutrition Database 37 5 Africa Development Indicators 6 6 Education Statistics 498 11 IDA Results Measurement System 1746 12 Millennium Development Goals 4402 13 Quarterly Public Sector Debt 116 14 Quarterly External Debt Statistics SDDS 878 15 Quarterly External Debt Statistics GDDS 39 16 Poverty and Equity 429 18 Global Economic Prospects 30 19 Global Financial Inclusion 133 20 The Atlas of Social Protection: Indicators of Resilience and Equity 565 22 Country Policy and Institutional Assessment 1801 23 Global Financial Development 257 24 G20 Financial Inclusion Indicators 59 25 Global Partnership for Education 167 27 Statistical Capacity Indicators 2 28 LAC Equity Lab 777 29 Subnational Poverty 2837 30 Health Nutrition and Population Statistics by Wealth Quintile 99 31 Population estimates and projections 22 32 Country Partnership Strategy for India (FY2013 - 17) 118 33 Adjusted Net Savings 132 34 Indonesia Database for Policy and Economic Research 679 35 Sustainable Development Goals 12 36 Subnational Population 30 37 Joint External Debt Hub 212 38 WDI Database Archives 4 39 Universal Health Coverage 421 40 Wealth Accounts 186 41 Economic Fitness 186 43 International Comparison Program (ICP) 2011 37 45 Worldwide Bureaucracy Indicators 269 46 Health Equity and Financial Protection Indicators 405 50 Global Financial Inclusion and Consumer Protection Survey 3 54 Global Financial Inclusion and Consumer Protection Survey (Internal) 29 57 Remittance Prices Worldwide (Receiving Countries) 2624 58 ICP 2017 14 59 PEFA_GRPFM 55 60 Gender Disaggregated Labor Database (GDLD) 3 61 International Debt Statistics: DSSI 5 62 Global Public Procurement 48 63 Statistical Performance Indicators (SPI) 28 64 Education Policy 193 65 65 elements 316

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published