pathling_read_tables: Create a data source from managed tables

View source: R/datasource.R

pathling_read_tablesR Documentation

Create a data source from managed tables

Description

pathling_read_tables() creates a data source from a set of Spark tables, where the table names are the resource type codes.

Usage

pathling_read_tables(pc, schema = NULL)

Arguments

pc

The PathlingContext object.

schema

An optional schema name that should be used to qualify the table names.

Value

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

See Also

Pathling documentation - Reading managed tables

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

Examples

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

## End(Not run)

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