Handy function to see what the current HTML code looks like as a webpage. I am not the original maker of this function., this is code adapted from reading rvest sessions. Thank you to Lorenzo Gaborini for posting this on their blog! https://adventuresindata.netlify.com/post/2018-01-17-viewing-rvest-sessions/

view_html(p)

Arguments

p

A character vector of HTML code or an xml document that has been created with xml2::read_html().