Check Data Availability

Description

Check the dates for which date is available.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
    TSdates(serIDs, con=getOption("TSconnection"), 
           vintage=getOption("TSvintage"), panel=getOption("TSpanel"), ...)

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

    ## S3 method for class 'TSdates'
start(x, ...)
    ## S3 method for class 'TSdates'
tfstart(x)
    ## S3 method for class 'TSdates'
end(x, ...)
    ## S3 method for class '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.

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.

Value

depends.

See Also

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