网页1前5页
require(RCurl)
require(rjson)
cURL <- paste("http://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?type=FD&sty=MTE&mkt=1&code=600030&p=",1:5,sep="")
fdjson <- getURL(cURL)
fdjson1 <- substr(fdjson,2,nchar(fdjson)-1)
fdlist <- sapply(fdjson1,fromJSON)
fdlist <- strsplit(fdlist,",")
fdm <- matrix(unlist(fdlist),ncol=13,byrow=T)


雷达卡





京公网安备 11010802022788号







