Learn R Programming

couchDB (version 1.4.1)

couch_http_connection: Connection to couchDB

Description

Creates a connection object on the host and ports provided

Usage

couch_http_connection(host, port = 5984, https = FALSE, service = "couchdb", user = NULL, password = NULL)

Arguments

host
The IP address of the couchDB instance
port
The port to connect to
https
Should a ssl protocol be used
service
the service used accepts either "couchdb" or "cloudant"
user
Username on the database server
password
Password for the database server

Examples

Run this code
## Not run:  
#    myConn <- couch_http_connection(host = "localhost")
# ## End(Not run) 

Run the code above in your browser using DataLab