CDsXML_Legacy: Import catchment descriptors from older .xml files
Description
Imports catchment descriptors from xml files (prior to FEH2025) either from an FEH webservice download or from the Peakflows dataset downloaded from the national river flow archive (NRFA) website
Usage
CDsXML_Legacy(x)
Value
A data.frame with columns; Descriptor and Value.
Arguments
x
the xml file path
Author
Anthony Hammond
Details
This function is to allow users to import catchment descriptors in the format prior to the 2025 update.
# Import catchment descriptors from a FEH webserver XML file and display XML in the consoleif (FALSE) {
cds_my_site <- CDsXML(r"{C:\Data\FEH_Catchment_384200_458200.xml}")
cds_my_site
}