url_absolute | R Documentation |
Convert between relative and absolute urls.
url_absolute(x, base)
url_relative(x, base)
x |
A character vector of urls relative to that base |
base |
A string giving a base url. |
A character vector of urls
xml_url
to retrieve the URL associated with a document
url_absolute(c(".", "..", "/", "/x"), "http://hadley.nz/a/b/c/d")
url_relative("http://hadley.nz/a/c", "http://hadley.nz")
url_relative("http://hadley.nz/a/c", "http://hadley.nz/")
url_relative("http://hadley.nz/a/c", "http://hadley.nz/a/b")
url_relative("http://hadley.nz/a/c", "http://hadley.nz/a/b/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.