_ _ _ _ _ _ _ _ _ _ _ /| |\ / |_ _ _ _ _ _ _ _ _ _| \ \ / \/ \ ___________________ /
An easy interface to CouchDB from R
Note: Check out R4couchdb, another R package to interact with CouchDB.
This may be starting it on your terminal/shell
Or opening the CouchDB app on your machine, or running it in Docker. Whatever it is, start it up.
You can interact with your CouchDB databases as well in your browser. Navigate to http://localhost:5984/_utils
Development version from GitHub
Cushions? What? Since it’s couch we gotta use
cushions are a connection class containing all connection info to a CouchDB instance. See
?Cushion for help.
As an example, connecting to a Cloudant couch:
Break down of parameters:
host: the base url, without the transport (
path: context path that is appended to the end of the url
port: The port to connect to. Default: 5984. For Cloudant, have to set to
user: User name for the service.
pwd: Password for the service, if any.
headers: headers to pass in all requests
If you call
Cushion$new() with no arguments you get a cushion set up for local use on your machine, with all defaults used.
Nice, it’s working.
#> $ok #>  TRUE
see if its there now
See the vignettes for more documentation.