Field: Create a Field

fieldR Documentation

Create a Field

Description

Create a Field

Usage

field(name, type, metadata = NULL, nullable = TRUE)

Arguments

name

field name

type

logical type, instance of DataType

metadata

a named character vector or list to attach as field metadata. All values will be coerced to character.

nullable

TRUE if field is nullable

See Also

Field

Examples

field("x", int32())
field("x", int32(), metadata = list(key = "value"))

arrow documentation built on Aug. 23, 2026, 9:07 a.m.