Displaying 1 result from an estimated 1 matches for "deliveryday".
2013 Apr 30
1
Trouble with reading xml in R
...xml file into
R. I tried the simpler solution xmlToDataFrame, which worked on another
file, but somehow it doesn't work for this file.
I have tried different other solutions, but I just can't seem to get it
quite right.
doc <- xmlRoot(xmlTreeParse(url))
art <- doc[[1]] [["DeliveryDay"]]
fields <- xmlApply(art[[2]]), names)
unique(names(unlist(fields)))
Gives output:
> "TimeStepID.text" "Purchase.Price" "Purchase.Volume" "Sell.Price"
> "Sell.Volume"
So I want the result to be a 2 data.frames which looks...