href-function | R Documentation |
Add hypertext reference to html document.
href(x, href, fmt, verbose = TRUE)
x |
Object of class 'html'. |
href |
A named |
fmt |
A format string with an xpath expression used to look up the node
where the tooltip is inserted. If missing, a heuristic evaluating the names
of the |
verbose |
A |
use(pkg = "RcppCWB", corpus = "REUTERS")
a <- corpus("REUTERS") %>%
subset(places = "argentina") %>%
html() %>%
highlight(lightgreen = 3997) %>%
href(href = list("3997" = "https://en.wikipedia.org/wiki/Argentina"))
if (interactive()) show(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.