我想用 Rcurl 获取数据,当我下载网络时,我想要的数据不在文件中,我该如何获取它,任何线索将不胜感激。
require(RCurl)
url="http://hk.ishares.com/product_info/fund/holdings/SEHK/2823.htm?ls=true& l=en&periodCd=d"
data=getURL(url)
write(file="data.html",data)
您可以在网络上看到的以下数据不在 data.html 中,我该如何获取?
% Net Assets Name Exchange Ticker Trading Exchange SEDOL Market Price
(HKD equivalent) Shares Held Market Value
(HKD equivalent) Sector
9.17 PING AN INSURANCE (GROUP) CO. OF C 601318 XSHG B1SVWB6 50.40 81,991,646 4,132,780,718 Financials
6.25 CHINA MERCHANTS BANK CO. LTD A 600036 XSHG 6518723 12.41 227,242,375 2,819,477,954 Financials
4.86 SHANGHAI PUDONG DEVELOPMENT BANK C 600000 XSHG 6182043 9.15 239,651,727 2,192,915,873 Financials