export_dataframe {EviewsR}R Documentation

Export R dataframe as an EViews workfile

Description

Use this function in R, R Markdown and Quarto to export an R dataframe as an EViews workfile

Usage

export_dataframe(
  source_description = "",
  wf = "",
  start_date = "",
  frequency = "",
  save_path = ""
)

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 a workfile to be created

start_date

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

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.

save_path

Specify where to save the EViews workfile.

Value

An EViews workfile.

See Also

Other important functions: EviewsR, create_object(), eng_eviews(), eviews_graph(), eviews_import(), eviews_pagesave(), eviews_wfcreate(), eviews_wfsave(), exec_commands(), export(), import_equation(), import_graph(), import_kable(), import_series(), import_table(), import_workfile(), import(), rwalk(), set_eviews_path()

Examples

library(EviewsR)
## Not run: 

Data=data.frame(x=cumsum(rnorm(100)),y=cumsum(rnorm(100)))

export_dataframe(wf="export_dataframe",source_description=Data,start_date = '1990',frequency = "m")

## End(Not run)

[Package EviewsR version 0.1.6 Index]