CDsXML: Import catchment descriptors from .xml files

View source: R/All.R

CDsXMLR Documentation

Import catchment descriptors from .xml files

Description

Imports catchment descriptors from xml files either from an FEH webservice download or from the Peakflows dataset downloaded from the national river flow archive (NRFA) website

Usage

CDsXML(x)

Arguments

x

the xml file path

Details

File paths for importing data require forward slashes. On some operating systems, such as windows, the copy and pasted file paths will have backward slashes and would need to be changed accordingly.

Value

A data.frame with columns; Descriptor and Value.

Author(s)

Anthony Hammond

Examples

#Import catchment descriptors from a NRFA peakflows xml file and display in console
## Not run: CDs.4003 <- CDsXML("C:/Data/NRFAPeakFlow_v11/Suitable for QMED/4003.xml")
## Not run: CDs.4003
#Import catchment descriptors from a FEH webserver xml file and display xml in the console
## Not run: CDs.MySite <- CDsXML("C:/Data/FEH_Catchment_384200_458200.xml")

UKFE documentation built on Nov. 6, 2023, 1:07 a.m.

Related to CDsXML in UKFE...