rapOpenDbConnection | R Documentation |
Generic to registries, handle the data source connections, including usernames and passwords needed to open these connections
rapOpenDbConnection(dbName, dbType = "mysql")
dbName |
String providing the name of the database to connect to. If it is "data" it will use the MYSQL_DB_DATA environment variable, if it is "autoreport" it will use the MYSQL_DB_AUTOREPORT environment variable, and if it is "raplog" it will use the MYSQL_DB_LOG environment variable. If none of these are set, it will use the name provided. |
dbType |
String providing type of data source, one of "mysql" and "mssql". Defaults to "mysql". "mssql" is not supported anymore. |
A named list of con and drv representing the db connection handle and driver, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.