Description Usage Arguments Value Examples
Here I am describing some things.
1 2 3 | speechscrape(url, slctr = "p+ p")
speechscrape2(.data)
|
url |
string containing location of chosen html file |
slctr |
string specifying css selector for chosen text |
.data |
A data frame or tibble containing the url and css selector of the desired documents |
speechscrape returns a single character value containing containing the processed text found at the location and css selector specified by input
speechscrape2 returns a list object where each element is a list containing a single processed text,
1 2 3 4 5 | url <- system.file("speeches", "vietnam.txt", package = "speechiespeech")
slctr <- spchlist$slctr[[2]]
speechscrape(url, slctr)
#speechscrape2(spchlist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.