Analysis of how geopolitical events, OPEC decisions, and economic shocks affect Brent crude oil prices (1987–2022).
├── data/
│ ├── BrentOilPrices.csv # Raw price data (place here)
│ └── key_events.csv # Compiled key events dataset
├── notebooks/
│ ├── analysis_workflow.md # Analysis plan & methodology
│ └── task1_eda_changepoint.ipynb
├── scripts/
├── src/
└── tests/
To set up the environment for EDA and change point analysis:
pip install -r requirements.txtInstall Python dependencies for the backend API:
pip install -r backend/requirements.txtInstall React dependencies:
cd frontend
npm installPlace BrentOilPrices.csv in the data/ folder, then run the notebook:
jupyter notebook notebooks/task1_eda_changepoint.ipynbTo start the dashboard locally:
-
Start the Backend Server:
python backend/app.py
The Flask server will run on
http://localhost:5000. -
Start the Frontend Development Server:
cd frontend npm run devThe Vite server will start on
http://localhost:3000and automatically proxy API requests to port 5000. Open the browser to see the dashboard.