Import - Eviews converts numbers to dates

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

ErikG
Posts: 85
Joined: Wed Jan 23, 2013 1:18 am

Import - Eviews converts numbers to dates

Postby ErikG » Tue Sep 15, 2015 9:26 am

Hi,

I've got an excel file with a column filled with numbers formatted as text. When importing the data to an unstructured Workfile Eviews converts these numbers to quarterly dates. This didn't happen about a year ago using Eviews 9. Can I force Eviews to read each column as a string?

Thanks,
Erik.

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

Re: Import - Eviews converts numbers to dates

Postby EViews Gareth » Tue Sep 15, 2015 9:33 am

Yes, on Step 2 of the Excel Read dialog you can use the Data Type box to change the type.

ErikG
Posts: 85
Joined: Wed Jan 23, 2013 1:18 am

Re: Import - Eviews converts numbers to dates

Postby ErikG » Thu Nov 05, 2015 4:57 am

And in code how do I do this if I have different data types in different columns in the excel sheet?

/Erik.

ErikG
Posts: 85
Joined: Wed Jan 23, 2013 1:18 am

Re: Import - Eviews converts numbers to dates

Postby ErikG » Thu Nov 05, 2015 5:01 am

OK, I See, this is the types option.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest