pq_read: Read a parquet files

View source: R/arrow.R

pq_readR Documentation

Read a parquet files

Description

Read a parquet files

Usage

pq_read(
  x = NULL,
  file_path = NULL,
  as_data_frame = T,
  assign_schema = T,
  schema_name = NULL,
  to_duck = F,
  snake_names = F,
  remove_columns = NULL,
  properties = ParquetArrowReaderProperties$create()
)

Arguments

schema_name

Examples

library(asbtools)
x = "Desktop/data/usa_spending/fpds/1978.gz.parquet"
pq_read(x = x, to_duck = F)
pq_read(x = x, to_duck = T)
pq_read(x = x, to_duck = F, as_data_frame = F)
pq_read(x = x, to_duck = T, as_data_frame = F)

abresler/asbtools documentation built on July 28, 2022, 11:04 p.m.