Quantcast
Channel: EViews
Viewing all articles
Browse latest Browse all 24144

Reading XLSX From the Web

$
0
0
Update:

For some reason, running the code below successfully downloads the file and leaves it in the ev_temp folder, but errors out on read:


Code:

%url = "http://www.policyuncertainty.com/media/Russia_Policy_Uncertainty_Data.xlsx"
wf a 1900 2050
importtbl(type=excelxml) %url


When I tried to open a workfile and manually read from that file in ev_temp (Russia_Policy_Uncertainty_Data.xlsx) using the GUI, I got the same error "File 'C:\Users\{username}\ev_temp\evxlsx\[content_types].xml' does not match expected format.'

I can manually double-click and open the file in Excel, so I know that it is not corrupted.

-James



Viewing all articles
Browse latest Browse all 24144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>