CDsXML | R Documentation |
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)
x |
the xml file path |
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.
A data.frame with columns; Descriptor and Value.
Anthony Hammond
#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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.