Importing data from an XML file into R
-
21-09-2019 - |
Question
I want to import an XML file from polarpersonaltrainer.com that stores heartrate data into a R data.frame. Is there a package that makes importing XML easy or do I have to write my own parser?
Solution
Yes. Use the XML
package. There's a function called xmlToDataFrame which will make your life easy.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow