pkg-arrow: Convert to and from arrow package types

from_narrow_array.ArrayR Documentation

Convert to and from arrow package types

Description

Convert to and from arrow package types

Usage

## S3 method for class 'Array'
from_narrow_array(x, ptype, ...)

## S3 method for class 'R6ClassGenerator'
from_narrow_array(x, ptype, ...)

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

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

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

## S3 method for class 'Scalar'
as_narrow_array(x, ...)

## S3 method for class 'Array'
as_narrow_array(x, ...)

## S3 method for class 'RecordBatch'
as_narrow_array(x, ...)

narrow_array_stream_to_arrow(x)

## S3 method for class 'RecordBatchReader'
as_narrow_array_stream(x, ...)

## S3 method for class 'Scanner'
as_narrow_array_stream(x, ...)

## S3 method for class 'Dataset'
as_narrow_array_stream(x, ...)

## S3 method for class 'Table'
as_narrow_array_stream(x, ...)

## S3 method for class 'RecordBatchFileReader'
as_narrow_array_stream(x, ...)

## S3 method for class 'RecordBatchStreamReader'
as_narrow_array_stream(x, ...)

## S3 method for class 'Array'
as_narrow_array_stream(x, ...)

## S3 method for class 'ChunkedArray'
as_narrow_array_stream(x, ...)

Arguments

x

An object to convert to or from 'arrow' package types

ptype

An R object to use as a prototype

...

Passed to S3 methods


paleolimbot/arrowvctrs documentation built on Oct. 12, 2023, 7 a.m.