Git Product home page Git Product logo

ibm-de-project's Introduction

Bank Market Data Extraction and ETL Project

This is a Data Engineering project that's part of IBM Data Engineering certificate through Coursera.

Overview

This Python project demonstrates a basic Extract, Transform, Load (ETL) process for collecting bank and market capitalization data, extracting exchange rates using an API, and transforming and loading the data into a structured format.

Project Description #Scenario

For this project, you will assume the role of data engineer working for an international financial analysis company. Your company tracks stock prices, commodities, forex rates, inflation rates. Your job is to extract financial data from various sources like websites, APIs and files provided by various financial analysis firms. After you collect the data, you extract the data of interest to your company and transform it based on the requirements given to you. Once the transformation is complete you load that data into a database.

Tasks

Task 01: Web Scraping

  • Collects data about the largest banks in the world from a Wikipedia page.
  • Utilizes the BeautifulSoup library for web scraping.
  • Stores the extracted data in a Pandas DataFrame.

Task 02: Extract API Data

  • Retrieves currency exchange rate data from the ExchangeRate-API.
  • Loads the data into a Pandas DataFrame and saves it as a CSV file.
  • Demonstrates the use of the requests library for API calls.

Task 03: ETL (Extract, Transform, Load)

  • Combines the bank and market cap data extracted in Task 01.
  • Transforms the market capitalization currency using the exchange rate data from Task 02.
  • Loads the transformed data into a separate CSV file.
  • Follows the ETL process to clean and structure the data.

Project Structure

  • Task01_Web_Scraping.ipynb: Jupyter Notebook containing the web scraping code.
  • Task02_Extract_API_Data.ipynb: Jupyter Notebook for extracting API data.
  • Task03_ETL.ipynb: Jupyter Notebook for the ETL process.
  • datasets/: Directory containing data files.
    • exchange_rates.csv: CSV file containing exchange rate data.
    • bank_market_cap_*.json: JSON files containing bank and market cap data.

Setup and Usage

To run this project, follow these steps:

  1. Clone the repository to your local machine.

  2. Install the required Python libraries:

 pip install pandas requests
  1. Execute the Jupyter Notebooks in the following order:

    • Task01_Web_Scraping.ipynb
    • Task02_Extract_API_Data.ipynb
    • Task03_ETL.ipynb
  2. Follow the instructions within each notebook to complete each task.

Contributing

Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, please create a GitHub issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

ibm-de-project's People

Contributors

farahat612 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.