CsvTableReader and JsonTableReader wrap the Arrow C++ CSV and JSON table readers. See their usage in read_csv_arrow() and read_json_arrow(), respectively.

Factory

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.

Methods

  • $Read(): returns an Arrow Table.

Super class

arrow::Object -> CsvTableReader

Methods

Public methods

Inherited methods

Method Read()

Usage

CsvTableReader$Read()


Method clone()

The objects of this class are cloneable with this method.

Usage

CsvTableReader$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Super class

arrow::Object -> JsonTableReader

Methods

Public methods

Inherited methods

Method Read()

Usage

JsonTableReader$Read()


Method clone()

The objects of this class are cloneable with this method.

Usage

JsonTableReader$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.