# π°πͺ Kenya Pesticide Watchdog
A project designed to help Kenyan farmers, researchers, and regulators identify potentially hazardous or banned pesticides in the market. The tool scrapes official pesticide data in Kenya and compares it against global banned pesticide databases.
---
## π Features
- π Scrape pesticide/insecticide data from Kenya's official Pest Control Products Board (PCPB)
- π Compare Kenyan products with internationally banned pesticide lists (EU, WHO, PAN)
- π¨ Flag pesticides that may pose environmental or health hazards
---
## π οΈ How to Use
### 1. Clone the Repository
```bash
git clone
github.com
cd KenyaPesticideWatchdog
```
### 2. Installations
Make sure you have Python 3 installed, then run:
```bash
pip install -r requirements.txt
```
### 3. Scrape Pesticides from PCPB Website
```bash
python scraper/fetch_pesticides_kenya.py
```
This creates `kenya_pesticides.csv` with official Kenyan product info.
### 4. Compare with Banned List
Ensure you have a `banned_pesticides_world.csv` file in the root directory with a column called `active_ingredient`, then:
```bash
python scraper/banned_list_checker.py
```
This produces `flagged_products.csv` containing potentially banned or harmful chemicals.
---
## π Educational Resources
- PAN International List of Highly Hazardous Pesticides
- EU Pesticide Database
- WHO Recommended Classification of Pesticides
- Kenya Pest Control Products Board (PCPB)
---
## π File Structure
```
KenyaPesticideWatchdog/
βββ Scripts/
β βββ fetch_pesticides_kenya.py # Scrapes Kenya pesticide list
β βββ banned_list_checker.py # Compares to global banned list
βββ docs/
β βββ resources.md # External links
β βββ how_it_works.md # Explanation of data flow
βββ kenya_pesticides.csv # Output from scraper (auto-generated)
βββ flagged_products.csv # Output from checker (auto-generated)
βββ banned_pe β¦