field()
lets you create an arrow::Field
that maps a
DataType to a column name. Fields are contained in
Schemas.
Arguments
- name
field name
- type
logical type, instance of DataType
- metadata
currently ignored
- nullable
TRUE if field is nullable
Methods
f$ToString()
: convert to a stringf$Equals(other)
: test for equality. More naturally called asf == other
Examples
field("x", int32())
#> Field
#> x: int32