save: Prepare a time series to be exported

Description Usage Arguments Value

Description

To be used with saveSpss, saveSas and others.

Usage

1
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


nmecsys/BETSlite documentation built on May 14, 2019, 6:13 a.m.