pq_read_files | R Documentation |
Read set of parquet fules
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 )
assign_schema |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.