ds.storage.database | R Documentation |
MongoDB GridFS Storage model
ds.storage.database(url = ds.default.database(), db = "data_storage")
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' |
list with storage options
# change the 'yahoo' data source to use MongoDB to store historical data
# register.data.source(src = 'yahoo', storage = ds.storage.database())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.