A script for generating daily and monthly Henry Hub gas prices.
- requests
-
Data comes from the EIA open data https://www.eia.gov/dnav/ng/hist/rngwhhdm.htm
-
Link to OKFN labs explorer Explorer
-
CSV ouputs for the daily and monthly prices are located in the data folder and can be updated by successfully running the script again
-
Check that python 3 is installed:
python --version
-
Clone the repo and cd into it:
git clone https://github.com/tonyguesswho/data-wrangling.git
-
Set up a python virtual enviroment:
use virtualenv or pipenv
-
Install dependencies from requirements.txt file:
pip install -r requirements.txt
-
Run the script:
python lib/script.py
Anthony Ugwu