readEViews: Read an Eviews File

Description Usage Arguments Details Value Author(s) References Examples

Description

This function reads a file in Eviews format (Eviews is an econometrics package).

Usage

1
readEViews(filename, time.stamp=TRUE, as.data.frame = TRUE)

Arguments

filename

The name of the file.

time.stamp

A logical indicating whether to include a Date column in the result.

as.data.frame

If TRUE the result is a data frame; otherwise a list of variables is returned.

Details

This function is just a demonstration of how the functions in this package can be used to read a complex binary format. It has been tested on a few sample files (and works), but there is no guarantee it will work for all Eviews files (this is not helped by the fact that it is based on reverse-engineering information about the Eviews format, NOT an official description of the format.

Value

Either a data frame or a list of variables.

Author(s)

Paul Murrell

References

http://www.eviews.com/ and http://www.ecn.wfu.edu/~cottrell/eviews_format/

Examples

1
readEViews(hexViewFile("data4-1.wf1"))

pmur002/hexview documentation built on July 6, 2019, 10:32 a.m.