Importing csv data file to Eviews

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

VaniaBrahim
Posts: 5
Joined: Wed Jul 16, 2014 6:33 am

Importing csv data file to Eviews

Postby VaniaBrahim » Wed Jul 16, 2014 6:40 am

I am writing my thesis and use a large data set (2.27 million datapoints). For some reason Eviews eliminates variable-values and replaces this with NA. It imports the names of the companies, but all other variables are replaced with NAs. It only does this for 2000 or so datapoints. But because of that, Eviews can't read my dataset as panel because the year identifier is also replaced with NAs.

I hope you guys can help me out, thanks in advance!

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

Re: Importing csv data file to Eviews

Postby EViews Gareth » Wed Jul 16, 2014 8:38 am

Hard to know without having a copy of the CSV file.

VaniaBrahim
Posts: 5
Joined: Wed Jul 16, 2014 6:33 am

Re: Importing csv data file to Eviews

Postby VaniaBrahim » Wed Jul 16, 2014 12:20 pm

Thank you for having a look at it!

VaniaBrahim
Posts: 5
Joined: Wed Jul 16, 2014 6:33 am

Re: Importing csv data file to Eviews

Postby VaniaBrahim » Wed Jul 16, 2014 12:21 pm

Strange, it does not upload my file

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

Re: Importing csv data file to Eviews

Postby EViews Gareth » Wed Jul 16, 2014 12:28 pm

You can email it to support@eviews.com

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

Re: Importing csv data file to Eviews

Postby EViews Gareth » Wed Jul 16, 2014 1:29 pm

Got it, we'll investigate.

VaniaBrahim
Posts: 5
Joined: Wed Jul 16, 2014 6:33 am

Re: Importing csv data file to Eviews

Postby VaniaBrahim » Thu Jul 17, 2014 1:57 pm

Hi Gareth,

Do you have any idea what the problem could be?

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

Re: Importing csv data file to Eviews

Postby EViews Gareth » Thu Jul 17, 2014 2:24 pm

The mixture of double and single quotes in some of the columns are messing things up for the automatic detection routines. Unfortunately there is a bug in the csv read dialog right now that prevents you from specifying the options manually.

However you can create an EViews program that will open it properly:

Code: Select all

wfopen scriptie_eindbestand1.csv quotes=double

VaniaBrahim
Posts: 5
Joined: Wed Jul 16, 2014 6:33 am

Re: Importing csv data file to Eviews

Postby VaniaBrahim » Thu Jul 17, 2014 2:37 pm

Ha, that could make sense. I'll replace the company names with numbers. Ill try the code as soon as I have access to Eviews.

Thank you for your time spent on the file!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests