FeatherReader {arrow} | R Documentation |
FeatherReader class
Description
This class enables you to interact with Feather files. Create
one to connect to a file or other InputStream, and call Read()
on it to
make an arrow::Table
. See its usage in read_feather()
.
Factory
The FeatherReader$create()
factory method instantiates the object and
takes the following argument:
-
file
an Arrow file connection object inheriting fromRandomAccessFile
.
Methods
-
$Read(columns)
: Returns aTable
of the selected columns, a vector of integer indices -
$column_names
: Active binding, returns the column names in the Feather file -
$schema
: Active binding, returns the schema of the Feather file -
$version
: Active binding, returns1
or2
, according to the Feather file version
[Package arrow version 16.1.0 Index]