Getting and setting properties of Data Resources
# S3 method for fielddescriptor
dp_name(x)# S3 method for fielddescriptor
dp_title(x)
# S3 method for fielddescriptor
dp_description(x) <- value
# S3 method for fielddescriptor
dp_format(x, ...)
dp_type(x)
dp_type(x) <- value
# S3 method for fielddescriptor
dp_type(x)
Either returns the property or modifies the object. If the property is not
set NULL
is returned (unless default = TRUE
).
a fielddescriptor
object.
the new value of the property.
used to pass additional arguments to other methods.
See PropertiesDatapackage and PropertiesDataresource for methods
for Data Packages and Data Resources respectively. Also see
dp_property
for a generic method for getting and setting
properties. These functions can also be used to get and set 'unofficial'
properties'