Description Usage Arguments Examples
jump_to()
takes a url (either relative or absolute);
follow_link
takes an expression that refers to a link (an <a>
tag) on the current page.
1 2 3 | jump_to(x, url, ...)
follow_link(x, i, css, xpath, ...)
|
x |
A session. |
url |
A URL, either relative or absolute, to navigate to. |
... |
Any additional httr configs to apply to this request. |
i |
You can select with:
|
css |
Nodes to select. Supply one of |
xpath |
Nodes to select. Supply one of |
1 2 3 4 | s <- html_session("http://hadley.nz")
s <- s %>% follow_link("github")
s <- s %>% back()
s %>% follow_link("readr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.