count_ports | R Documentation |
Count different port numbers used in URLs
count_ports(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 port and how many times it occurs.
count_ports(c("http://example.com:8080", "http://example.com:80"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.