pathling_example_resource {pathling}R 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


pc <- pathling_connect()
pathling_example_resource(pc, 'Condition')
pathling_disconnect(pc)


[Package pathling version 7.0.0 Index]