Investigating the relationship between energy & mining consumption in Kenya and how it affects climate change.
# Investigating the relationship between energy and mining consumption in Nairobi, Kenya and how it affects climate change.
## 1. Introduction
By using data from varied sources (The World Bank, The Humanitarian Data Exchange, and Meteo Blue), a global understanding of relationships between potential climate change factors that could explain some key variables such as Temperature and Precipitation could be drawn for Africa as a whole and Kenya more specifically.
This project will be investigating the relationship between energy and mining consumption in Nairobi, Kenya and how it affects climate change. Analysis will be briefly global (Africa) before focusing specifically on Kenya.
Even though most of the project was centered around Nairobi, two other African cities (Algiers and Cape Town) were added to initially compare whether some trends in Nairobi’s temperature could also be correlated with other parts in Africa. However, temperature variation is challenging to rely on to extract an obvious trend as temperature varies throughout seasons.
Eventually, using machine learning, a forecast prediction was achieved for the precipitation and temperature for Nairobi from 1985 to 2019.
The six steps that this project followed are:
- Context & Problem Identification
- Data Wrangling
- Exploratory Data Analysis (EDA)
- Pre-Processing and Training Data Development
- Modeling
**Data Sources**
Stemming from different sources from the World Bank Open Data (WBOD), the Humanitarian Data Exchange (HDE) and Meteo Blue (meteorological service created at the University of Basel, Switzerland in 2006), several climate-related data were collected to extract insights into possible correlations between causes and consequences of climate change in Kenya. 20+ years of daily data were analyzed and, using machine learning, a prediction of main climate consequences were simulated.
## 1. Context
Climate risks pose serious threats to Kenya’s sustainable development goals. Wi …