getSize: Get the Count of Objects in the Package

Description Usage Arguments Value See Also Examples

Description

Get the Count of Objects in the Package

Usage

1
2
3
4
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

1
2
3
4
5
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 Aug. 11, 2018, 3:46 a.m.