as_data_type: Convert an object to an Arrow DataType

View source: R/type.R

as_data_typeR Documentation

Convert an object to an Arrow DataType

Description

Convert an object to an Arrow DataType

Usage

as_data_type(x, ...)

## S3 method for class 'DataType'
as_data_type(x, ...)

## S3 method for class 'Field'
as_data_type(x, ...)

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

Arguments

x

An object to convert to an Arrow DataType

...

Passed to S3 methods.

Value

A DataType object.

Examples

as_data_type(int32())


arrow documentation built on Nov. 25, 2023, 1:09 a.m.