read_xml_dwa_m150: Read XML file coded as described in DWA-M 150

Description Usage Arguments Value Examples

View source: R/read_xml.R

Description

Read XML file coded as described in DWA-M 150

Usage

1
read_xml_dwa_m150(xml, encoding = "ISO-8859-1")

Arguments

xml

path to XML file

encoding

encoding used in the XML file, passed to read_xml

Value

list with elements fd, hg, hi, hz, each of which is a data frame containing the corresponding data as described in DWA-M150

Examples

1
2
3
4
xml <- system.file("extdata/example.xml", package = "kwb.dwa.m150")
content <- read_xml_dwa_m150(xml)

str(content)

KWB-R/kwb.dwa.m150 documentation built on Sept. 9, 2019, 3:21 p.m.