[R] Download daily weather data

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Thu Feb 26 23:34:43 CET 2009


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.




More information about the R-help mailing list