Learn R Programming

datapackage (version 0.2.1)

dp_get_datapackage: Get the Data Package associated with the object

Description

Get the Data Package associated with the object

Usage

dp_get_datapackage(x)

Value

Returns a Data Resource object, or returns NULL when none could be found.

Arguments

x

the object for which to determine the associated Data Package

Details

This method can, of course, only determine the Data Package when this information is stored in one of the attributes of the object. This can be either be a datapackage attribute or an dataresource attribute.