Learn R Programming

TSdbi (version 2017.4-1)

TSexists: Check if Series Exist on a Database

Description

Return a logical value indicating if series exist on a database, including vintages.

Usage

TSexists(serIDs, con=getOption("TSconnection"),
	vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...)
    # S4 method for default
TSexists(
	serIDs, con=getOption("TSconnection"),
	vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...)

Arguments

con
A database connection.
serIDs
identifiers for series on the database.
vintage
character string indicating vintage of the series on the database (if supported by the database).
panel
character string indicating panel of the series on the database (if supported by the database).
...
arguments passed to other methods.

Value

Depends. See details.

Details

TSexists returns TRUE or FALSE, depending on whether the series exist at the connection. (All series specified must exist for TRUE.) If vintage is a vector then a corresponding vector result is returned.

See Also

TSdescription, TSget, TSput, TSdates