Re: [R] XML to CSV

2017-01-25 Thread Andrew Lachance
>name_nodes = xml_find_all(x, "//name") > >name = xml_text(name_nodes) > > > >price_nodes = xml_find_all(x, "//price") > >price = xml_text(price_nodes) > > > >calories_nodes = xml_find_all(x, "//calories") > >calories = xml_doub

[R] XML to CSV

2017-01-03 Thread Andrew Lachance
up votdown votefavorite I am completely new to R and have tried to use several functions within the xml packages to convert an XML to a csv and have had little success. Since I am