Learn R Programming

urlexplorer (version 0.1.0)

count_param_names: Count different parameter names in query strings

Description

Count different parameter names in query strings

Usage

count_param_names(query, sort = FALSE, name = "n")

Value

A tibble with each parameter name and how often it occurs.

Arguments

query

A character vector of query strings.

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_param_names(c("param1=value1¶m2=value2", "param3=value3"))

Run the code above in your browser using DataLab