Skip to content
Prev 308719 / 398503 Next

Downloading a html table

Copy the table data (leave out the column headings and the total line at the
bottom) into the clipboard. Then
"PopDensity.km", "Area.mi", "PopDensity.mi")
Area.mi=as.numeric(gsub(",", "", Area.mi)),
     PopDensity.mi=as.numeric(gsub(",", "", PopDensity.mi)))
The last line computes the Population from the Area and Population Density.

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352