powered by
field() lets you create an arrow::Field that maps a DataType to a column name. Fields are contained in Schemas.
field()
arrow::Field
field(name, type, metadata, nullable = TRUE)
field name
logical type, instance of DataType
currently ignored
TRUE if field is nullable
f$ToString(): convert to a string
f$ToString()
f$Equals(other): test for equality. More naturally called as f == other
f$Equals(other)
f == other
# NOT RUN { field("x", int32()) # }
Run the code above in your browser using DataLab