[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../../cpp/../format/../r/reference/Field.html [Back]  [Original]

Create a Field field Arrow R Package Skip to contents
Arrow R Package 25.0.1

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

Examples

field("x", int32())
#> Field
#> x: int32
field("x", int32(), metadata = list(key = "value"))
#> Field
#> x: int32

On this page


Web Proxy Viewer  |  New URL  |  Original Page