Page 1 of 1

Reading hard Excel files

Posted: Mon Mar 09, 2009 12:57 pm
by startz
Excel files are unfortunately often designed to be read by people rather than computers. An example is attached. Any chance of EViews getting being able to read something like this in future iteration?
digest of education tabn174.xls
(57 KiB) Downloaded 511 times

Re: Reading hard Excel files

Posted: Mon Mar 09, 2009 2:06 pm
by EViews Chris
To be honest, I doubt we'll be reading that file in fully automatically any time soon. There are just too many oddities.

There is one complication that we might be able to address in the future which is the use of empty lines. In the current code we use these to mark out where each data table ends, but we might be able to add an option to ingore empty lines in an Excel spreadsheet. (We have an option like this for raw text files.)

A human would still probably have to set this option though: at the end of the day, your brain is using the names of the U.S. states and/or the way the formatting lines have been drawn to tell that all the data is a single table. Both of these are fairly hard for us to pick up automatically.

Re: Reading hard Excel files

Posted: Mon Mar 09, 2009 2:15 pm
by startz
To be honest, I doubt we'll be reading that file in fully automatically any time soon. There are just too many oddities.

There is one complication that we might be able to address in the future which is the use of empty lines. In the current code we use these to mark out where each data table ends, but we might be able to add an option to ingore empty lines in an Excel spreadsheet. (We have an option like this for raw text files.)

A human would still probably have to set this option though: at the end of the day, your brain is using the names of the U.S. states and/or the way the formatting lines have been drawn to tell that all the data is a single table. Both of these are fairly hard for us to pick up automatically.
Perfectly reasonable, I'd settle for a few extra manual controls.