properties_fielddescriptor: Getting and setting properties of Data Resources

PropertiesFielddescriptorR 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 fielddescriptor object.

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'


djvanderlaan/datapackage documentation built on June 12, 2025, 2:44 a.m.