I am trying to write an R package that accesses some data via a REST API. The API, however, doesn't use http authentication, but rather relies on cookies to keep credentials with the session.
Essentially, I'd like to replace the following two lines from a bash script with two R functions: One to perform the login, and store the session ...
Hello,
I'm trying to do soemone a favour, and it's a tad outside my comfort zone, so I'm stuck.
I want to use R to scrape this page (http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410001/report.html ) and others, to get the goal scorers and times.
So far, this is what I've got
require(RCurl)
require(XML)
th...
I am trying to use RCurl to download a webpage encoding in Big5, but the encoding is not right. I have been toying with the "encoding" parameters for a while but no use, any suggestions?
Thanks.
...