
Last chance! 50% off unlimited learning
Sale ends in
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
CDsXML(x)
A data.frame with columns; Descriptor and Value.
the xml file path
Anthony Hammond
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.
#Import catchment descriptors from a NRFA peakflows xml file and display in console
if (FALSE) CDs.4003 <- CDsXML("C:/Data/NRFAPeakFlow_v11/Suitable for QMED/4003.xml")
if (FALSE) CDs.4003
#Import catchment descriptors from a FEH webserver xml file and display xml in the console
if (FALSE) CDs.MySite <- CDsXML("C:/Data/FEH_Catchment_384200_458200.xml")
Run the code above in your browser using DataLab