fhir_load: Load bundles from xml-files

Description Usage Arguments Value Examples

View source: R/download_resources.R

Description

Reads all bundles stored as xml files from a directory.

Usage

1
fhir_load(directory)

Arguments

directory

A character vector of length one containing the path to the folder were the files are stored.

Value

A fhir_bundle_list.

Examples

1
2
3
4
5
6
7
8
#unserialize example bundle
bundles <- fhir_unserialize(medication_bundles)

#save to temporary directory
fhir_save(bundles, directory = tempdir())

#load from temporary directory
loaded_bundles <- fhir_load(tempdir())

fhircrackr documentation built on June 17, 2021, 5:12 p.m.