getSize: Get the Count of Objects in the Package

getSizeR Documentation

Get the Count of Objects in the Package

Description

Get the Count of Objects in the Package

Usage

getSize(x, ...)

## S4 method for signature 'DataPackage'
getSize(x)

Arguments

x

A DataPackage instance

...

(not yet used)

Value

The number of object in the Package

See Also

DataPackage-class

Examples

dp <- new("DataPackage")
data <- charToRaw("1,2,3\n4,5,6")
do <- new("DataObject", dataobj=data, format="text/csv", user="jsmith")
dp <- addMember(dp, do)
getSize(dp)

ropensci/datapack documentation built on June 11, 2022, 11:20 a.m.