开发者

Importing data from an XML file into R

开发者 https://www.devze.com 2022-12-15 00:06 出处:网络
I want to import an XML file from polarpersonaltrainer.com that stores heartrate data int开发者_如何学运维o a R data.frame.

I want to import an XML file from polarpersonaltrainer.com that stores heartrate data int开发者_如何学运维o 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消