dear users,

we have got the following question:

we have got a text-file looking like this:

...
  <trkpt lat="48.272000" lon="16.342984">
    <ele>387</ele>
    <time>2012-01-01T15:32:03Z</time>
    <sat>9</sat>
  </trkpt>
  <trkpt lat="48.271909" lon="16.343563">
    <ele>381</ele>
    <time>2012-01-01T15:32:34Z</time>
    <sat>9</sat>
  </trkpt>
...

now we would like to create a text file looking like the following, in
order to being able to read it into R afterwards.

->

lat;lon;ele;time;sat
48.272000;16.342984;387;2012-01-01T15:32:03Z;9
48.271909;16.343563;381;2012-01-01T15:32:34Z;9
...

does anyone know how to do this?

thank you very much for your help in advance.

marion

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to