pq_read_files: Read set of parquet fules

View source: R/arrow.R

pq_read_filesR Documentation

Read set of parquet fules

Description

Read set of parquet fules

Usage

pq_read_files(
  path = NULL,
  as_data_frame = F,
  to_duck = F,
  exclude_files = NULL,
  schema_file = NULL,
  schema_name = NULL,
  assign_schema = T,
  partitioning = NULL,
  unify_schemas = NULL,
  snake_names = T,
  add_file_name = F,
  to_arrow_table = F,
  return_message = T
)

Arguments

assign_schema

Examples

library(asbtools)
library(tidyverse)

tbl <- pq_read_files(path = "Desktop/data/usa_spending/contract_archives/solicitations/", as_data_frame = F)

tbl %>% count(year_data, sort= T) %>% collect()

pq_read_files(path = "Desktop/data/usa_spending/contract_archives/solicitations/", as_data_frame = F)



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