count_fragments {urlexplorer}R Documentation

Count fragments in URLs

Description

Count fragments in URLs

Usage

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

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

Value

A tibble with each fragment and its count.

Examples

count_fragments(c("http://example.com#top", "http://example.com#bottom"))

[Package urlexplorer version 0.1.0 Index]