TSfinddb {TSdbi}R Documentation

Find a Time Series Database Connection

Description

Find a connection to a specified time series database.

Usage

    TSfinddb(dbname=NULL, driverOrder=c("MySQL", "SQLite", "padi")) 

Arguments

dbname Character string indicating the name of a database.
driverOrder A vector of character string indicating TSdbi drivers in the order they should be tried.

Details

TSfinddb tries to establish a connection to the indicated database using the drivers in the order specified. This attempt also requires the corresponding TSdbi driver package (e.g., "TSMySQL", "TSSQLite", or "TSpadi"). If the package cannot be loaded then the driver is skipped. The first valid connection is returned. If no valid connection is found then NULL is returned.

Value

A connection

See Also

TSdbi-package, dbConnect, TSput, TSget, TSdates


[Package TSdbi version 2009.1-1 Index]