extract_xml: Extract data from ICNARC xml

Description Usage Arguments Value

View source: R/extract_xml.R

Description

Extracts data from a version 3 ICNARC xml and converts it into a useful rectangular format. Version 4 is pending.

Usage

1
extract_xml(xml_path)

Arguments

xml_path

the path to a folder with ICNARC style XML. This folder should contain *NOTHING* but XML. The XML should be labelled in lexicographical order (i.e. the order you want the files to be read in). For example, my_xml01.xml, my_xml02.xml and so on. Please do not rely on dates in the names of files for them to parse in the correct order.

Value

a data frame representation of ICNARC data


CC-HIC/icnarc2omop documentation built on March 4, 2020, 11:11 a.m.