BETS.save: Prepare a time series to be exported

Description Usage Arguments Value

View source: R/BETS.save.R

Description

To be used with BETS.save.spss, BETS.save.sas and others.

Usage

1
BETS.save(code = NULL, data = NULL, file.name = "series", type = "")

Arguments

code

An integer. The unique identifier of the series within the BETS database.

data

A data.frame or a ts. Contains the data to be written. If data is supplied, the BETS database will not be searched.

file.name

A character. The name of the output file. The default is 'series.spss'.

type

A character. The type of the file (e.g. 'spss' or 'sas').

Value

A list with the data frame to be saved and the file name


pedrocostaferreira/BETS documentation built on June 1, 2020, 7:53 a.m.