Learn R Programming

TSdbi (version 2017.4-1)

TSdates: Check Data Availability

Description

Check the dates for which date is available.

Usage

TSdates(serIDs, con=getOption("TSconnection"), 
           vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...)

# S4 method for character,missing TSdates(serIDs, con=getOption("TSconnection"), vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...) # S4 method for character,ANY TSdates(serIDs, con=getOption("TSconnection"), vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...)

# S3 method for TSdates start(x, ...) # S3 method for TSdates tfstart(x) # S3 method for TSdates end(x, ...) # S3 method for TSdates tfend(x)

Arguments

con
A database connection.
serIDs
identifiers for series on the database.
x
an object returned by TSdates.
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.

Details

TSdates returns information about the start and end of each series in serIDs. con is a database connection as returned by dbConnect. TSdates also provides simple way to query a regularly used database. The connection can be set in options using options(TSconnection=con) and then only the series identifiers need to be specified in calls to TSdates.

start, tfstart, end, and tfend extract start and end dates from the object returned by TSdates.

See Also

TSdbi-package, TSdescription, dbConnect, TSget, TSput, tfstart, tfend