pathling_read_parquet: Create a data source from Parquet tables

View source: R/datasource.R

pathling_read_parquetR Documentation

Create a data source from Parquet tables

Description

pathling_read_parquet() creates a data source from a directory containing Parquet tables. Each table must be named according to the name of the resource type that it stores.

Usage

pathling_read_parquet(pc, path)

Arguments

pc

The PathlingContext object.

path

The URI of the directory containing the Parquet tables.

Value

A DataSource object that can be used to run queries against the data.

See Also

Pathling documentation - Reading Parquet

Other data source functions: pathling_read_bulk(), pathling_read_bundles(), pathling_read_datasets(), pathling_read_delta(), pathling_read_ndjson(), pathling_read_tables()

Examples

## Not run: 
data_source <- pc %>% pathling_read_parquet(pathling_examples('parquet'))
data_source %>% ds_read('Patient') %>% sparklyr::sdf_nrow()

## End(Not run)

pathling documentation built on Sept. 15, 2025, 5:08 p.m.