ds.storage.file.csv.save {rtsdata} | R Documentation |
Save 'xts' object into CSV file
Description
Save 'xts' object into CSV file
Usage
ds.storage.file.csv.save(ds.data, file, date.format = "%Y-%m-%d")
Arguments
ds.data |
'xts' object |
file |
filename to save 'xts' object |
date.format |
date format |
Value
nothing
Examples
# get sample of the fake stock data
data = ds.getSymbol.fake.stock.data('dummy', from = '2018-02-01', to = '2018-02-13')
filename = file.path(tempdir(), 'dummy.csv')
ds.storage.file.csv.save(data, filename)
[Package rtsdata version 0.1.4 Index]