[cleanup] Add transformation R code.

Transform HTML data to get a pretty R data table.