get_url_domain | R Documentation |
get_url_domain()
retrieves the Web domain name from a URL, including
URLs shortened with services such as bit.ly and t.co
get_url_domain(x, wait = 10)
x |
A list or vector of hyperlinks, whether shortened or expanded |
wait |
How long (in seconds) to wait on the
|
A list or vector of Web domain names
Read the documentation for longurl::expand_urls()
and
urltools::domain()
.
get_url_domain("https://www.tidyverse.org/packages/")
get_url_domain("https://dplyr.tidyverse.org/")
get_url_domain("http://bit.ly/2SfWO3K")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.