src | R Documentation |
Setup a database connection
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, ...)
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 |
## Not run: src_elastic() src_couchdb() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.