R Data Analysis Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Extracting a single HTML table from a web page

A single table can be extracted using the following command:

> table <- readHTMLTable(url,which=5) 

Specify which to get data from a specific table. R returns a data frame.