ds.storage.database {rtsdata} | R Documentation |
MongoDB GridFS Storage model
Description
MongoDB GridFS Storage model
Usage
ds.storage.database(url = ds.default.database(), db = "data_storage")
Arguments
url |
address of the mongodb server in mongo connection string URI format, defaults to ds.default.database database. For local mongodb server, use 'mongodb://localhost' URI. For local authenticated mongodb server, use 'mongodb://user:password@localhost' URI. |
db |
name of database, defaults to 'data_storage' |
Value
list with storage options
Examples
# change the 'yahoo' data source to use MongoDB to store historical data
# register.data.source(src = 'yahoo', storage = ds.storage.database())
[Package rtsdata version 0.1.4 Index]