Logo Lanfrica

Lynn578/food-price-predictor

Domain:

agriculturesocioeconomic

Record type:

softwaretools
Creator:
Lyn
Host:
Food price prediction and analysis app for Kenya Food Price Predictor - Kenya ๐Ÿฝ๏ธ Streamlit web app that tracks Kenyan food prices across markets, shows trends, predicts future prices, and gives smart shopping recommendations. Perfect for dealing with those crazy grocery price swings. ๐Ÿ”ด Live Demo: food-price-predictor-3e5qhnโ€ฆ โœจ What You'll Get ๐Ÿ“Š Current Prices - Latest prices by market/food + full history ๐Ÿ“ˆ Price Trends - Interactive charts + monthly patterns ๐Ÿ”ฎ Price Prediction - Future price forecasts (seasonal trends) ๐Ÿ’ก Buying Tips - Buy now/wait advice based on your budget ๐Ÿ“ฅ CSV Export - Download any food/market data ๐Ÿ“ฑ Mobile-friendly - Works everywhere ๐Ÿ—๏ธ Folder Structure text food-price-predictor-kenya/ โ”œโ”€โ”€ app.py # Main app (this file) โ”œโ”€โ”€ wfp_food_prices_ken.csv # REQUIRED data file โ”‚ โ””โ”€โ”€ (or put in data/ folder) โ”œโ”€โ”€ requirements.txt # Dependencies โ””โ”€โ”€ README.md # You're reading it ๐Ÿš€ Run It (5 mins) 1. Install Python stuff bash pip install streamlit pandas plotly 2. Get the data Download WFP Kenya food prices CSV โ†’ name it wfp_food_prices_ken.csv โ†’ put in same folder as app.py 3. Launch bash streamlit run app.py Boom! Opens at localhost ๐Ÿ“ฆ Full Requirements text streamlit>=1.28.0 pandas>=2.0.0 plotly>=5.15.0 Save as requirements.txt or just run the pip command above. ๐Ÿ“Š The Data Source: World Food Programme (WFP) Food Prices Kenya Needs these CSV columns: text date, market, commodity, price, pricetype 2023-01-15, Nairobi, Maize, 65.5, Retail App auto-finds CSV in root folder or data/ subfolder. ๐Ÿงญ 5 Main Pages Emoji Page Shows ๐Ÿ  Home Stats, top markets/foods, quick overview ๐Ÿ“Š See Prices Latest price, avg, history table + CSV download ๐Ÿ“ˆ Trends Line charts, monthly patterns, min/max/volatility ๐Ÿ”ฎ Predict Pick future date โ†’ get predicted price + buy/wait advice ๐Ÿ’ก Suggestions Enter budget โ†’ "buy now" or "wait" recommendation ๐ŸŽฏ How Predictions Work Super simple but smart: Grab all historical prices for tha โ€ฆ