CsvTableReader
and JsonTableReader
wrap the Arrow C++ CSV
and JSON table readers. See their usage in read_csv_arrow()
and
read_json_arrow()
, respectively.
The CsvTableReader$create()
and JsonTableReader$create()
factory methods
take the following arguments:
file
A character path to a local file, or an Arrow input stream
convert_options
(CSV only), parse_options
, read_options
: see
CsvReadOptions
...
additional parameters.
$Read()
: returns an Arrow Table.
arrow::Object
-> CsvTableReader
Read()
CsvTableReader$Read()
clone()
The objects of this class are cloneable with this method.
CsvTableReader$clone(deep = FALSE)
deep
Whether to make a deep clone.
arrow::Object
-> JsonTableReader
Read()
JsonTableReader$Read()
clone()
The objects of this class are cloneable with this method.
JsonTableReader$clone(deep = FALSE)
deep
Whether to make a deep clone.