I want to scrape html tables using the XML package of R, in a similar way to discussed on this thread:
Scraping html tables into R data frames using the XML package
The main difference with the data I want to extract, is that I also want text relating to an image in the html table. For example the table at http://www.theplantlist.org/tpl/record/kew-422570 contains a column for "Confidence" with an image showing one to three stars. If I use:
readHTMLTable("http://www.theplantlist.org/tpl/record/kew-422570")
then the output column for "Confidence" is blank apart from the header. Is there any way to get some form of data in this column, for example the HTML code linking to the appropriate image?
Any suggestions of how to go about this would be much appreciated!