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?

Was it helpful?

Solution

Yes. Use the XML package. There's a function called xmlToDataFrame which will make your life easy.

OTHER TIPS

You might find RSXML useful. It's also in CRAN.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top