Get and set properties of Data Packages and Data Resources
dp_property(x, attribute)# S3 method for readonlydatapackage
dp_property(x, attribute)
# S3 method for editabledatapackage
dp_property(x, attribute)
dp_property(x, attribute) <- value
# S3 method for readonlydatapackage
dp_property(x, attribute) <- value
# S3 method for editabledatapackage
dp_property(x, attribute) <- value
# S3 method for dataresource
dp_property(x, attribute)
# S3 method for dataresource
dp_property(x, attribute) <- value
# S3 method for tableschema
dp_property(x, attribute)
# S3 method for tableschema
dp_property(x, attribute) <- value
# S3 method for fielddescriptor
dp_property(x, attribute)
# S3 method for fielddescriptor
dp_property(x, attribute) <- value
Either returns the property or modifies the object.
a datapackage or dataresource object.
a length 1 character vector with the name of the property.
the new value of the property.
See dp_name etc. for methods for specific properties for Data
Packages and dp_encoding etc. for specific properties for Data
Resources. These specific methods also check if the input is valid for the
given property.