TSfinddb: Find a Time Series Database Connection

Description Usage Arguments Details Value See Also

Description

Find a connection to a specified time series database.

Usage

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

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 "TSPostgreSQL"). 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


TSdbi documentation built on May 2, 2019, 5:47 p.m.