Retrieve relationships of package objectsSource:
Relationships of objects in a package are defined using the
'insertRelationship' call and retrieved
getRetaionships. These relationships are returned in a data frame with
as the columns, ordered by "subject"
A DataPackage object
(Not yet used)
A logical value, if TRUE then a more easily viewed version of relationships are returned.
dp <- new("DataPackage") insertRelationship(dp, "/Users/smith/scripts/genFields.R", "http://www.w3.org/ns/prov#used", "https://knb.ecoinformatics.org/knb/d1/mn/v1/object/doi:1234/_030MXTI009R00_20030812.40.1") #> This package does not contain any DataObjects. rels <- getRelationships(dp)