R/test_page.R

Defines functions test_page

Documented in test_page

#' View a scraped page in the browser
#' 
#' This can be useful for debugging the output of a scrape job
#' 
#' @param html The HTML to render
#' @export
test_page <- function(html){
  xml2::write_xml(html, file="temp.html")
  utils::browseURL("temp.html")
  file.remove("temp.html")
}
tylerburleigh/LinkedInJobsScrapeR documentation built on Nov. 5, 2019, 11:02 a.m.