PropertiesFielddescriptor {datapackage} | R Documentation |
Getting and setting properties of Data Resources
Description
Getting and setting properties of Data Resources
Usage
## S3 method for class 'fielddescriptor'
dp_name(x)
## S3 method for class 'fielddescriptor'
dp_title(x)
## S3 replacement method for class 'fielddescriptor'
dp_description(x) <- value
## S3 method for class 'fielddescriptor'
dp_format(x, ...)
dp_type(x)
dp_type(x) <- value
## S3 method for class 'fielddescriptor'
dp_type(x)
Arguments
x |
a |
value |
the new value of the property. |
... |
used to pass additional arguments to other methods. |
Value
Either returns the property or modifies the object. If the property is not
set NULL
is returned (unless default = TRUE
).
See Also
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'
[Package datapackage version 0.2.3 Index]