get_field: Get field metadata

Description Usage Arguments Details See Also Examples

Description

Missing properties are returned filled with their default values (see Details).

Usage

1
2
3

Arguments

x

Object.

name

(character) Field name to return if not set explicitly.

l

(list) List of objects.

Details

Unless set explicity, the following defaults are returned:

See Also

Other field functions: field, set_fields, set_field

Examples

1
2
3
4
5
6
get_field(1)
get_field(1, "id")
x <- set_field(1, type = "logical")
get_field(x)
get_field(Sys.time())
get_fields(data.frame(id = 1L, value = 1.1))

ezwelty/dpkg documentation built on May 30, 2019, 7:19 a.m.