Skip to content

Updated for version 2 of the EIA API

Latest
Compare
Choose a tag to compare
@Matt-Brigida Matt-Brigida released this 29 Jun 16:22
· 5 commits to master since this release

getEIA() will now work with version 2 of the EIA API. getCatEIA() has been removed, so if you don't already know the Series ID you want you'll need to find it using an alternative method. For example:

  1. Go to EIA's Opendata website.
  2. Go to the "Bulk File Downloads" by scrolling down a bit and looking on the right margin.
  3. Choose the bulk download for the category that contains the series you want. Foe example if it is a Crude Oil series download the "Petroleum" file.
  4. After the file downloads unzip it and find the Series ID you want.

Note you only have to do the above once to get the Series ID.