datapack (version 1.4.1)

getFormatId: Get the FormatId of the DataObject

Description

Get the FormatId of the DataObject

Usage

getFormatId(x, ...)

# S4 method for DataObject getFormatId(x)

Arguments

x

DataObject

...

(not yet used)

Value

the formatId

See Also

DataObject-class

Examples

Run this code
# NOT RUN {
data <- charToRaw("1,2,3\n4,5,6\n")
do <- new("DataObject", "id1", dataobj=data, "text/csv", 
  "uid=jones,DC=example,DC=com", "urn:node:KNB")
fmtId <- getFormatId(do)
# }

Run the code above in your browser using DataLab