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

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.

Examples

if (FALSE) { # \dontrun{
data_source <- pc %>% pathling_read_tables()
data_source %>% ds_read('Patient') %>% sparklyr::sdf_nrow()
} # }