Ghana textiles export/import analysis for a consultancy report
# Ghana Waste Analysis Project
This project aims to analyze waste management practices in Ghana from the perspective of a UK environmentalist organization. It utilizes various datasets to understand the flow of waste.
## Data Sources
1. **Raw Data**
- `micro_data_trade_2022.csv`: Contains raw trade data for the year 2022, including information on imports and exports relevant to waste management.
2. **Processed Data**
- `textile_import_data.csv`: Processed data specifically related to textile imports, filtered and cleaned for analysis.
## Installation
To set up the project, clone the repository and install the required dependencies:
```bash
git clone
github.com
cd helium1b
pip install -r requirements.txt
```
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or suggestions.
## Notebook
# Data Exploration for Waste Management in Ghana
This notebook is dedicated to exploratory data analysis (EDA) of the import data in Ghana in 2022. The aim is to gain initial insights into the data, identify patterns, and prepare for further analysis.
```python
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
```
## Initial Data Cleaning & Processing
This section outlines the key steps taken to prepare the trade data for analysis:
1. Data cleaning process:
- Removed missing values and outliers
- Standardized country name formats
- Fixed inconsistent units of measurement
2. Data transformation:
- Created an aggregated dataset by country (`import_by_country`)
- Assigned geographic regions to each country for regional analysis
- Calculated summary statistics by region
The processed data provides the foundation for our subsequent exploratory analysis and visualization.
## HS4 Classiffications
1. The code under shows which HS codes where used and what do they represent.
This data is from the raw data set provided by Ghana Statistical Service Microdata Ca …