new.SonarConnection(url, host, db, port = 27017, username = NULL,
pwd = NULL, sdb = NULL, ssl = FALSE, anyCert = FALSE, krb = FALSE,
mapCredentials = FALSE, secondaryPref = FALSE)sonarFind and sonarAgg to query a Mongo
database.The parameters for this function are explained in greater detail in the JSON Studio help page Using the Gateway.
con <- new.SonarConnection('https://localhost:8443', 'localhost', 'test')Run the code above in your browser using DataLab