save {BETS}R Documentation

Prepare a time series to be exported

Description

To be used with saveSpss, saveSas and others.

Usage

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


[Package BETS version 0.4.9 Index]