connect | R Documentation |
Connect to the database using SSH
connect()
Prerequisites for successfully calling this function:
Store DB username and password in operating system credential store using the keyring package: keyring::key_set(service = "ecometri_caddis, username = "myusername")
Generate an ssh key
list of length 2 with r background process and DBI connection object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.