Re: [R] XML to CSV

2017-01-25 Thread Franzini, Gabriele [Nervianoms]
: Franzini, Gabriele [Nervianoms] Cc: r-help@r-project.org Subject: Re: [R] XML to CSV Hello all, Thank you for the extremely helpful information. As a follow up, some of the nested elements are of the form below: -         I've been having trouble extracting this information and was won

Re: [R] XML to CSV

2017-01-25 Thread Andrew Lachance
Hello all, Thank you for the extremely helpful information. As a follow up, some of the nested elements are of the form below: - I've been having trouble extracting this information and was wondering if anyone had any suggestions. Thank you, Andrew On Thu, Jan 5, 2017 at 7:39 AM, Fran

Re: [R] XML to CSV

2017-01-05 Thread Franzini, Gabriele [Nervianoms]
Hello Andrew, as you are "clean slate" anyway in handling XML files, you could take a look to XSLT processing -- also an off-topic area. There are free tools available around, and many examples of "XML to CSV XSLT" on StackOverflow. HTH, Gabriele -Original Message- On January 4, 2017

Re: [R] XML to CSV

2017-01-04 Thread Jeff Newmiller
Andrew... you really need to understand the outline/tree nature of your XML schema to understand why blanks might appear in your data when you try to squeeze it into a rectangular layout like CSV. Opening the file in a modern Web browser like Firefox can help you see the forest among the trees,

Re: [R] XML to CSV

2017-01-04 Thread Ben Tupper
Hi, You should keep replies on the list - you never know when someone will swoop in with the right answer to make your life easier. Below is a simple example that uses xpath syntax to identify (and in this case retrieve) children that match your xpath expression. xpath epxressions are sort of

Re: [R] XML to CSV

2017-01-03 Thread Ben Tupper
Hi, It's hard to know what to advise - much depends upon the XML data you have and what you want to extract from it. Without knowing about those two things there is little anyone could do to help. Can you post to the internet a to example data and provide the link here? Then state explicitly

[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