View source: R/spanish_schools_ex.R
prep_browser | R Documentation |
Prepare local HTML links to open with your browser
prep_browser(x)
x |
a character vector of HTML files |
the same character vector but with "file://" appended to it
Jorge Cimentada
library(xml2) library(scrapex) one_link <- spanish_schools_ex()[1] prep_browser(one_link) ## Not run: # You can open it with your browser with browseURL browseURL(prep_browser(one_link)) ## End(Not run) # There have been failed attempts with Windows explorer and other browsers # from time to time. In case you want to try it out with other browsers, # just paste the example link of the html website from # prep_browser(one_link) to your browser and it should open locally.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.