Displaying 1 result from an estimated 1 matches for "currencybot".
2012 Apr 16
1
grep and XML
Hi all:
I struggle a lot scraping web data. I still haven't got a handle on the XML package.
I'd like to get particular exchange rates from this table:
https://raw.github.com/currencybot/open-exchange-rates/master/latest.json
This is the code that I'm working with:
library(RCurl)
library(XML)
txt<-getURL("https://raw.github.com/currencybot/open-exchange-rates/master/latest.json")
txt<-htmlParse(txt, asText=TRUE)
txt<- getNodeSet(txt, '//p')
So, I ca...