I'm having an issue accessing data from the EIA database through EViews. I'm hoping you can replicate it on your end and recommend solutions.
Consider the following short program:
Code: Select all
'Create workfile
wfcreate(wf=TEMP, page=DATA_A) a 1990 2020
pagecreate(DATA_Q) q 1990 2020
pagecreate(DATA_M) m 1990 2020
'Fetch fuel price data from EIA
for %freq A Q M
pageselect DATA_{%freq}
fetch(d=EIA) STEO.WTIPUUS.{%freq} STEO.NGHHMCF.{%freq} STEO.NGHHUUS.{%freq} STEO.BREPUUS.{%freq}
nextAny thoughts on what could be causing this? I'm perplexed by the fact that the code breaks at a different series in the fetch command each time I run it.
I am running EV9 Enterprise (September 14 2015 build) on Windows 7, and I have the EIA database in my registry with a valid API key.
Thanks,
-James
