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?
Yes. Use the XML
package. There's a function called xmlToDataFrame which will make your life easy.
2
-
1No, RSXML is precursors to XML, and only on Omegahat. You really want XML as Shane said. – Dirk Eddelbuettel Dec 25 '09 at 2:21
-
Why does the XML entry on CRAN link to the RSXML website? cran.r-project.org/web/packages/XML – las3rjock Dec 25 '09 at 23:43