saveSas {BETS}R Documentation

Export a time series to SAS

Description

Writes a time series to a .sas (SAS) file.

Usage

saveSas(code = NULL, data = NULL, file.name = "series")

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.sas'.

Value

None

Examples


 #Exchange rate - Free - United States dollar (purchase)
 #us.brl <- get(3691)
 #require(seasonal)
 #us.brl.seasonally_adjusted <- seas(us.brl)
 #saveSas(data = us.brl.seasonally_adjusted,file.name="us.brl.seasonally_adjusted")
 # Or
 #saveSas(code=3691,file.name="us.brl")


[Package BETS version 0.4.9 Index]