Learn R Programming

urlexplorer (version 0.1.0)

count_userinfos: Count occurrences of userinfo in URLs

Description

Count occurrences of userinfo in URLs

Usage

count_userinfos(url, sort = FALSE, name = "n")

Value

A tibble listing userinfos and how often each occurs.

Arguments

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'.

Examples

Run this code
count_userinfos(c("http://user:pass@example.com", "http://example.com"))

Run the code above in your browser using DataLab