dpfield: Get and set the meta data of a single field

Description Usage Arguments Value

Description

Get and set the meta data of a single field

Usage

1
2
3
dpfield(meta, field, resource = 1)

dpfield(meta, field, resource = 1) <- value

Arguments

meta

a datapackage object or a dpresource object in which case the resource argument is ignored.

field

the name or number of the field.

resource

an identifier of the the resource. This can be a numeric index, or a character with the name of the resource.

value

a dpfield object to assign to the field.

Value

dpfield returns an object of type dpfield.


djvanderlaan/datapackage documentation built on May 15, 2019, 8:53 a.m.