Description Usage Arguments Details Value Author(s) References Examples
This function reads a file in Eviews format (Eviews is an econometrics package).
1 | readEViews(filename, time.stamp=TRUE, as.data.frame = TRUE)
|
filename |
The name of the file. |
time.stamp |
A logical indicating whether to include a
|
as.data.frame |
If |
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.
Either a data frame or a list of variables.
Paul Murrell
http://www.eviews.com/ and http://www.ecn.wfu.edu/~cottrell/eviews_format/
1 | readEViews(hexViewFile("data4-1.wf1"))
|
BATHS BEDRMS PRICE SQFT
1 1.75 3 199.9 1065
2 2.00 3 228.0 1254
3 2.00 3 235.0 1300
4 2.50 4 285.0 1577
5 2.00 3 239.0 1600
6 2.00 4 293.0 1750
7 2.75 4 285.0 1800
8 2.00 4 365.0 1870
9 2.50 4 295.0 1935
10 2.00 4 290.0 1948
11 3.00 4 385.0 2254
12 2.50 3 505.0 2600
13 3.00 4 425.0 2800
14 3.00 4 415.0 3000
Warning messages:
1: In readEViews(hexViewFile("data4-1.wf1")) :
Skipping boilerplate variable
2: In readEViews(hexViewFile("data4-1.wf1")) :
Skipping boilerplate variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.