count_param_values {urlexplorer} | R Documentation |
Count different values for a specified parameter across query strings
Description
Count different values for a specified parameter across query strings
Usage
count_param_values(query, param_name, sort = FALSE, name = "n")
Arguments
query |
A character vector of query strings. |
param_name |
The name of the parameter whose values to count. |
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 value of the specified parameter and how often it occurs.
Examples
count_param_values(c("param1=value1¶m2=value2", "param1=value3"), "param1")
[Package urlexplorer version 0.1.0 Index]