properties_datapackage: Getting and setting properties of Data Packages

PropertiesDatapackageR Documentation

Getting and setting properties of Data Packages

Description

Getting and setting properties of Data Packages

Usage

dp_contributors(x, ...)

dp_contributors(x) <- value

## S3 method for class 'datapackage'
dp_contributors(x, ...)

## S3 replacement method for class 'datapackage'
dp_contributors(x) <- value

dp_name(x)

## S3 method for class 'datapackage'
dp_name(x)

dp_name(x) <- value

## S3 replacement method for class 'datapackage'
dp_name(x) <- value

dp_title(x)

## S3 method for class 'datapackage'
dp_title(x)

dp_title(x) <- value

## S3 replacement method for class 'datapackage'
dp_title(x) <- value

dp_description(x, ..., first_paragraph = FALSE, dots = FALSE)

## S3 method for class 'datapackage'
dp_description(x, ..., first_paragraph = FALSE, dots = FALSE)

dp_description(x) <- value

## S3 replacement method for class 'datapackage'
dp_description(x) <- value

dp_keywords(x, ...)

## S3 method for class 'datapackage'
dp_keywords(x, ...)

dp_keywords(x) <- value

## S3 replacement method for class 'datapackage'
dp_keywords(x) <- value

dp_created(x, ...)

## S3 method for class 'datapackage'
dp_created(x, ...)

dp_created(x) <- value

## S3 replacement method for class 'datapackage'
dp_created(x) <- value

dp_id(x, ...)

## S3 method for class 'datapackage'
dp_id(x, ...)

dp_id(x) <- value

## S3 replacement method for class 'datapackage'
dp_id(x) <- value

Arguments

x

a datapackage object.

...

used to pass additional arguments to other methods.

value

the new value of the property.

first_paragraph

Only return the first paragraph of the description.

dots

When returning only the first paragraph indicate missing paragraphs with ....

Value

Either returns the property or modifies the object.

See Also

See dp_resource for methods for getting and setting the resources of a Data Package.

See PropertiesDataresource and PropertiesFielddescriptor for methods for Data Resources and Field Descriptors 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.