Reads a FHIR resource dataframe from the package example data.

pathling_example_resource(pc, resource_name)

Arguments

pc

The PathlingContext object.

resource_name

The name of the resource to read.

Value

A Spark DataFrame containing the resource data.

Details

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

See also

Other example functions: pathling_examples()

Examples

if (FALSE) { # \dontrun{
pathling_example_resource(pc, 'Condition')
} # }