pathling_example_resource: Read resource from Pathling example data

View source: R/etc.R

pathling_example_resourceR Documentation

Read resource from Pathling example data

Description

Reads a FHIR resource dataframe from the package example data.

Usage

pathling_example_resource(pc, resource_name)

Arguments

pc

The PathlingContext object.

resource_name

The name of the resource to read.

Details

The resources are read from the package example data in the extdata/parquet directory. Currently the following resources are available: 'Patient' and 'Condition'.

Value

A Spark DataFrame containing the resource data.

See Also

Other example functions: pathling_examples()

Examples

## Not run: 
pathling_example_resource(pc, "Condition")

## End(Not run)

pathling documentation built on June 3, 2026, 9:08 a.m.