Re: [R] R and REST API's

2009-09-29 Thread Gary Lewis
Thanks to all of you who replied. You've provided some great leads. I really appreciate it. Gary On Mon, Sep 28, 2009 at 10:01 AM, Gary Lewis wrote: > Hi - Many organizations now make their data available as XML via a > REST web service architecture. Is there any R package or facility to > acce

Re: [R] R and REST API's

2009-09-28 Thread Duncan Temple Lang
Hi Gary, Greg, et al. In addition to making some things slightly simpler, the RCurl package also provides some necessary lower-level control over the HTTP requests. Firstly, it can handle HTTPS. Secondly, numerous REST applications will require more information in the header of the HTTP request,

Re: [R] R and REST API's

2009-09-28 Thread hadley wickham
On Mon, Sep 28, 2009 at 9:01 AM, Gary Lewis wrote: > Hi - Many organizations now make their data available as XML via a > REST web service architecture. Is there any R package or facility to > access this type of data directly (eg, to make the HTTP GET request > and have the downloaded data put in

Re: [R] R and REST API's

2009-09-28 Thread Greg Hirson
Gary, Echoing Barry's suggestion of Omegahat packages, take a look at RCurl - http://www.omegahat.org/RCurl/ It has a function, getForm, which passes GET form parameters as a list to curl. I used it and the XML package in writing RLastFM (http://cran.r-project.org/web/packages/RLastFM/index.htm

Re: [R] R and REST API's

2009-09-28 Thread Barry Rowlingson
On Mon, Sep 28, 2009 at 3:01 PM, Gary Lewis wrote: > Hi - Many organizations now make their data available as XML via a > REST web service architecture. Is there any R package or facility to > access this type of data directly (eg, to make the HTTP GET request > and have the downloaded data put in

Re: [R] R and REST API's

2009-09-28 Thread Rajarshi Guha
On Mon, Sep 28, 2009 at 10:01 AM, Gary Lewis wrote: > Hi - Many organizations now make their data available as XML via a > REST web service architecture. Is there any R package or facility to > access this type of data directly (eg, to make the HTTP GET request > and have the downloaded data put

[R] R and REST API's

2009-09-28 Thread Gary Lewis
Hi - Many organizations now make their data available as XML via a REST web service architecture. Is there any R package or facility to access this type of data directly (eg, to make the HTTP GET request and have the downloaded data put into an R data frame)? I used several R search sites to look