Skip to content

Oluwakoya-ao/nigerian-exchange-rate-analysis

Repository files navigation

📘 Nigerian Exchange Rate Scraper & Dashboard

📌 Project Title

Nigerian Exchange Rate Analysis using Web Scraping and Power BI


📖 Description

This project demonstrates how to fetch daily foreign exchange rates from the official Central Bank of Nigeria (CBN) website using a Python script, save the data into a CSV file, and create interactive visualizations in Power BI.

It’s a practical application of web scraping using APIs, combined with business intelligence reporting.


🧪 How It Works

  1. Python Web Scraping

    • Uses the requests library to extract exchange rate data from the CBN API.
    • Converts the JSON data to a DataFrame using pandas.
    • Saves the cleaned data to Nigeria_Exchange_Rate.csv.
  2. Power BI Visualization

    • Imports the CSV file into Power BI.
    • Visualizes exchange rates for multiple currencies over time.
    • Enables date-based comparison of rates such as USD, Euro, Pound Sterling, CFA, Yen, and more.

🔧 Technologies Used


📂 Project Structure

File Name Description
Web Scrapping using Api.pdf Contains the Python code to fetch and save exchange rate data
Web Scrapping using Api Visuals.pdf Screenshots and output from Power BI dashboard
Nigeria_Exchange_Rate.csv Output CSV file generated by the Python script (not included by default)

🖼️ Power BI Dashboard Highlights

  • 📆 Daily exchange rate trends
  • 📊 Multiple currency tracking (USD, EUR, GBP, CFA, YEN, etc.)
  • 📈 Visual comparison over different dates
  • 🔍 Easy-to-use interface for exploration

Note: This dashboard is a conceptual learning project, not an official financial tool.


🚀 How to Run This Project

  1. Clone the repository

    git clone https://github.com/Oluwakoya-ao/nigerian-exchange-rate-analysis.git
  2. Run the Python script (from Jupyter Notebook or terminal):

    # In a Jupyter cell or Python script
    fetch_and_save_data()

    This will save a file called Nigeria_Exchange_Rate.csv.

  3. Open Power BI Desktop, import the CSV, and recreate the visuals.


🧠 Learning Goals

  • Understand how to extract live data using APIs
  • Practice data handling and transformation using Python
  • Build professional dashboards using Power BI

🙏 Credits & Acknowledgment

This project was developed as part of the Data Analytics – Deep Dive Mentorship Program.
Special thanks to the original creator of the project, who kindly granted permission to replicate and learn from their work.


✍️ Author

Oluwakoya Oluwafemi
Data Analyst | Power BI Developer
📧 oluwakoyafavour@gmail.com
🔗 LinkedIn Profile

About

A data analytics project that fetches live exchange rate data from the Central Bank of Nigeria using a Python API script, and visualizes trends using Power BI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors