Message-ID: <49A71903.7010609@idi.ntnu.no>
Date: 2009-02-26T22:34:43Z
From: Wacek Kusnierczyk
Subject: Download daily weather data
In-Reply-To: <98783c8b0902261424m16140933k92775071515060df@mail.gmail.com>
James Muller wrote:
> Yes, as a general thing go to regular expressions if you don't have an
> existing library available to do the same thing (or you're lazy like
> me:).
>
>
many things are simply *much* easier with xpath than with regexes, and
with the XML package you got it for free.
vQ
> Jame
>
> On Thu, Feb 26, 2009 at 5:16 PM, Wacek Kusnierczyk
> <Waclaw.Marcin.Kusnierczyk at idi.ntnu.no> wrote:
>
>> Scillieri, John wrote:
>>
>>> Looks like you can sign up to get XML feed data from Weather.com
>>>
>>> http://www.weather.com/services/xmloap.html
>>>
>>>
>> ... and use the excellent R package XML by Duncan Temple Lang to parse
>> the document and easily access the data with, e.g.., XPath rather than
>> regular expressions.
>>
>> vQ
>>
>
> ______________________________________________
> R-help at 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.