ctrMongo: Set up connections to a Mongo DB server

Description Usage Arguments Value

View source: R/utils.R

Description

Set up connections to a Mongo DB server

Usage

1
2
3
ctrMongo(collection = "ctrdata", db = "users",
  url = "mongodb://localhost", username = "", password = "",
  verbose = FALSE)

Arguments

collection

Name of collection (default is "ctrdata")

db

Name of database (default is "users")

url

Address of the mongodb server in mongo connection string URI format http://docs.mongodb.org/manual/reference/connection-string/ (default is mongodb://localhost)

username

In case access requires credentials.

password

In case access requires credentials.

verbose

Print information.

Value

A mongo data base object, currently using mongolite


rfhb/ctrdata documentation built on Jan. 15, 2019, 2:24 a.m.