Learn R Programming

EviewsR (version 0.1.2)

eviews_import: Import data to `EViews` workfile

Description

Use this function to import data to `EViews` workfile from R

Usage

eviews_import(source_description="",wf="",type="",options="",smpl_string="",
genr_string="",rename_string="",frequency="",start_date="",id="",destid="",
append=FALSE,save_path="")

Value

An EViews workfile

Arguments

source_description

Description of the file from which the data is to be imported. The specification of the description is usually just the path and file name of the file.

wf

Object or a character string representing the name of an `EViews` workfile.

type

Optional. Specify the file type, it can values allowed by `EViews` import commands like access, text. For the most part, you should not need to specify a “type=” option as EViews will automatically determine the type from the filename.

options

Optional.Specify the `EViews` options for import command like resize, link, page=page_name.

smpl_string

Optional. Specify the sample to be used for the data import.

genr_string

Optional. Any valid `EViews` series creation expression to be used to generate a new series in the workfile as part of the import procedure.

rename_string

Optional. Pairs of old object names followed by the new name to be used to rename some of the imported series.

frequency

Object or a character string representing the frequency of a workfile page to be created. Only letters accepted by EViews are allowed. For example u for undated, a for annual, m for monthly and so on.

start_date

Object or a character string representing the start date. It should be left blank for undated (when the frequency is u).

id

Name of `EViews` ID series. Required for `EViews` Match-Merge Import.

destid

Name of the destination ID. Required for `EViews` Match-Merge Import.

append

Logical, whether to append to the bottom of the `EViews` workfile page or not.

save_path

Specify the path to save the `Eviews` workfile

See Also

Other important functions: EviewsR, create_object(), eng_eviews(), eviews_graph(), eviews_pagesave(), eviews_wfcreate(), eviews_wfsave(), exec_commands(), export(), import_table(), import(), rwalk(), set_eviews_path()