I'm trying to convert, for example, '9¼"'to '9.25' but cannot seem to read the fraction correctly.
Here's the data I'm working with:
library(XML)
url <- paste("http://mockdraftable.com/players/2014/", sep = "")
combine <- readHTMLTable(url,which=1, header=FALSE, stringsAsFactors=F)
names(combine) <- c("Name", "Pos", "Hght", "Wght", "Arms", "Hands",
"Dash40yd", "Dash20yd", "Dash10yd", "Bench", "Vert", "Broad",
"Cone3", "ShortShuttle20")
As an example, the Hands column in the first row is '9¼"', how would I make combine$Hands become 9.25? Same for all of the other fractions 1/8 - 7/8.
Any help would be appreciated.