makeCreds: Makes a properly formatted credential file

Description Usage Arguments Value

Description

makeCreds creates the file used by the pull* functions to supply the SQL database with your credentials. Credentials for multiple databases can be submitted as vectors for each of dsn, login, and password. When submitting multiple credentials make sure that the order is correct.

Usage

1
makeCreds(dsn, login, password, replace = FALSE)

Arguments

dsn

The name (or vector of names) of the ODBC database containing the data of interest. If your login and password are identical for all databases, use 'ALL' (Check the 'System DSN' tab in the ODBC Data Source Administrator, for these).

login

The login (or vector of logins) to the dsn.

password

The password (or vector of passwords) to the dsn.

replace

A logical scalar specifying whether or not makeCreds should overwrite an existing credential file. If a credential file exists and replace=FALSE then makeCreds exits with an error.

Value

Nothing. A message is printed if writing the file was successfull.


jknowles/ModelEWS documentation built on May 19, 2019, 11:42 a.m.