| TSconnect {TSdbi} | R Documentation |
Return a connection to a time series database
TSconnect(drv, dbname, ...)
## S4 method for signature 'character, character':
TSconnect(drv, dbname, ...)
## S4 method for signature 'TSdbOptions':
show(object)
## S4 method for signature 'TSdbOptions':
print(x, ...)
drv |
A database connection driver or character string. |
dbname |
The name of the database to which the connection should be established |
x |
A database connection as returned by TSconnect. |
object |
an object to display. |
... |
Additional arguments passed to other print methods. |
This function establishes a connection using a driver from one of the driver
packages (e.g. TSMySQL or TSSQLite). If drv is a character
string (e.g. "MySQL") then the method attempts to get a driver using the
character string.
"TSconnect" uses dbConnect but checks the database
has expected tables and also establishes
information about additional features that may be available (vintiges and/or
panels).
Options can be set to simplify access to a commonly used database
(see TSput).
A database connection.
TSdbi-package,
dbConnect,
TSget,
TSput,
TSdates