Learn R Programming

fhircrackr (version 0.2.1)

fhir_load_design: Load design from xml

Description

Loads a design for use with fhir_crack from an xml file into R

Usage

fhir_load_design(file)

Arguments

file

A string specifying the file from which to read

Value

A list representing a valid design for fhir_crack

Examples

Run this code
# NOT RUN {
#create and save design
design <- list(
   Pat = list(
      resource = "//Patient",
      cols = "./*"
   )

)
temp <- tempfile()

fhir_save_design(design, file = temp)
design <- fhir_load_design(temp)
# }

Run the code above in your browser using DataLab