count_hosts | R Documentation |
Count different hosts found in URLs
count_hosts(url, sort = FALSE, name = "n")
url |
A character vector of URLs. |
sort |
Logical indicating whether to sort the output by count. Defaults to FALSE. |
name |
The name of the column containing the counts. Defaults to 'n'. |
A tibble with each host and its count.
count_hosts(c("http://example.com", "http://www.example.com"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.