setMongoDbCredentials: Set MongoDB Credentials

Description Usage Arguments Value Examples

Description

Function to set MongoDB credentials. Type can be hometimeline or filterstream. Creates either hometimeline or filterstream as a connection element.

Usage

1
setMongoDbCredentials(type, collection, db, url)

Arguments

type

Type to set the MongoDB credentials for: hometimeline or filterstream

collection

The collection to store the tweets in

db

The database to store the tweets in

url

The path to the MongoDB

Value

None

Examples

1
2
setMongoDbCredentials (type = "hometimeline", collection = "hometimeline",
db = "twitter", url = "mongodb://localhost")

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.