powered by
MongoDB GridFS Storage model
ds.storage.database(url = ds.default.database(), db = "data_storage")
list with storage options
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.
name of database, defaults to 'data_storage'
# \donttest{ # change the 'yahoo' data source to use MongoDB to store historical data # register.data.source(src = 'yahoo', storage = ds.storage.database()) # }
Run the code above in your browser using DataLab