src: Setup a database connection

srcR Documentation

Setup a database connection

Description

Setup a database connection

Usage

src_elastic(host = "http://127.0.0.1", port = 9200, user = NULL,
  pwd = NULL, key = NULL, ...)

src_couchdb(type = "localhost", port = 5984, user = NULL, pwd = NULL)

src_solr(x, ...)

Arguments

host

Host url

port

Port number

user

Username, if any

pwd

Password, if any

key

API key, if any

...

further args passed on, or ignored

type

One of localhost, cloudant, or iriscouch. This is what's used to determine how to structure the URL to make the request.

x

Input to print method

Examples

## Not run: 
src_elastic()
src_couchdb()

## End(Not run)

ropensci/docplyr documentation built on May 18, 2022, 9:52 a.m.