Downloading EIA’s data with Python
This article is originally published at https://quantcorner.wordpress.comBelow is a snippet to download the many data sets available on the US EIA‘s website (www.eia.gov). Required user’s inputs are a EIA token and the codes for the series one wants to download. Output is a pandas dataframe. Dates returned are strings. It is easy to parse them as Python date objects, anyway. import json import numpy as […]
Thanks for visiting r-craft.org
This article is originally published at https://quantcorner.wordpress.com
Please visit source website for post related comments.