as_schema: Convert an object to an Arrow DataType

View source: R/schema.R

as_schemaR Documentation

Convert an object to an Arrow DataType

Description

Convert an object to an Arrow DataType

Usage

as_schema(x, ...)

## S3 method for class 'Schema'
as_schema(x, ...)

## S3 method for class 'StructType'
as_schema(x, ...)

Arguments

x

An object to convert to a schema()

...

Passed to S3 methods.

Value

A Schema object.

Examples

as_schema(schema(col1 = int32()))


arrow documentation built on Oct. 26, 2022, 5:08 p.m.