getFameAttribute {fame}R Documentation

Get Fame Object Attributes

Description

getFameAttribute reads one attribute of one object in a Fame database and returns it as a string. getFameCreated and getFameUpdated return an object's created and updated attributes, respectively, as POSIXlt dates.

Usage

getFameAttribute(attribute, fname, db)
getFameCreated(fname, db)
getFameUpdated(fname, db)

Arguments

attribute string naming the attribute to be returned
fname name of an object in a FAME database
db string giving the relative or full path to the Fame database to read or write from. If the fameLocalPath() function is defined, it will be called on this argument to obtain a path. At the Federal Reserve Board, fameLocalPath() knows how to look up the path for 'registered' databases given only their names, e.g., "us", "intl", and so on. Full path names are thus unnecessary for registered databases, and in fact are a bad idea, since the database might get moved.

Value

getFameAttribute returns a named string.
getFameCreated and getFameUpdated each return a POSIXlt object.

Examples

## Not run: 
getFameUpdated("gdp.q", db = "us")
## End(Not run)

[Package fame version 2.5 Index]