Data conversion from Excel

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Data conversion from Excel

Postby terrya » Sat Apr 27, 2013 9:17 pm

I'm using EV8.

I have data in an Excel table that has Years in rows and Months in columns. Currently, there are 1203 observations.

Is it possible to import this data and convert it into a time series in a single column?

At present, I save it as a text file (just the raw data) and import this to EV. This works but is annoying as I would like to write a programme that imports the data straight from Excel and convert it to the single column, enabling me to process it further.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Data conversion from Excel

Postby EViews Gareth » Mon Apr 29, 2013 7:44 am

Code: Select all

wfopen monthyear.xlsx @rename * m_* pagestack m_? alpha yearmonth = @str(year) + "/" + var01 series date = @dateval(yearmonth, "YYYY/MONTH") pagestruct @date(date)
Attachments
monthyear.xlsx
(12.91 KiB) Downloaded 533 times

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: Data conversion from Excel

Postby terrya » Mon Apr 29, 2013 12:34 pm

Thanks


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests