R: Field class

Field {arrow} | R Documentation

## Field class

### Description

`field()` lets you create an `arrow::Field` that maps a DataType to a column name. Fields are contained in Schemas.

### Usage

    field(name, type, metadata)

### Arguments

`name` | field name
`type` | logical type, instance of DataType
`metadata` | currently ignored

### Methods

- `f$ToString()`: convert to a string

- `f$Equals(other)`: test for equality. More naturally called as `f == other`

### Examples

    field("x", int32())

[Package arrow version 0.17.1 Index]