count_paths: Count different paths found in URLs

View source: R/count.R

count_pathsR Documentation

Count different paths found in URLs

Description

Count different paths found in URLs

Usage

count_paths(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 path and its count.

Examples

count_paths(c("http://example.com/index", "http://example.com/home"))

urlexplorer documentation built on Aug. 8, 2025, 7:29 p.m.