Learn R Programming

fame (version 2.6)

getFameAttribute: 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.

Value

  • getFameAttribute returns a named string.

    getFameCreated and getFameUpdated each return a POSIXlt object.

Examples

Run this code
getFameUpdated("gdp.q", db = "somedb")

Run the code above in your browser using DataLab