Skip to content

rileynwong/forecasting-coffee-prices

Repository files navigation

Projecting Coffee Prices in Kenya

Using data from the Nairobi Coffee Exchange for coffee prices from 2014-2018, scrape data from PDFs, and forecast future coffee prices for the 2018-2019 session.

Uses Tabula for data scraping and Prophet for time-series forecasting.

For easy viewing:

Setup

  • Create and activate a new virtual environment:

    • $ conda create -n coffee_env python=3
    • $ conda activate coffee_env
  • Install project dependencies:

    • $ conda install gcc; conda install -c conda-forge fbprophet
    • $ pip install -r requirements.txt

File Overview