arrow_read_table: Read a table from an arrow database and return as an Dataset...

View source: R/arrow_read_table.R

arrow_read_tableR Documentation

Read a table from an arrow database and return as an Dataset object.

Description

This function does not actually fetch the data, but returns an Dataset object which can be further processed / filtered using dplyr. See https://db.rstudio.com/r-packages/dplyr/ for details. To fetch the actual data, execute collect(). This function is simply a convenience and consistency wrapper around open_dataset

Usage

arrow_read_table(
  table,
  db = getOption("RRDarrow", "/Volumes/RRD.Reclassification_LEEF-2/parquet/"),
  hive_style = TRUE,
  unify_schemas = FALSE,
  format = c("parquet")
)

Arguments

table

Directory of the data files

db

fully qualified path to the folder which contains all the arrow directories, Defaul: getOption("RRDarrow", "/Volumes/RRD.Reclassification_LEEF-2/parquet/")

hive_style

see open_dataset

unify_schemas

see open_dataset

format

see open_dataset

Value

A Dataset R6 object. Use dplyr methods on it to query the data.

See Also

open_dataset


LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.