powered by
Count the occurrence of query strings in URLs
count_queries(url, sort = FALSE, name = "n")
A tibble with each query string and how often it occurs.
A character vector of URLs.
Logical indicating whether to sort the output by count. Defaults to FALSE.
The name of the column containing the counts. Defaults to 'n'.
count_queries(c("http://example.com?query1=value1", "http://example.com?query2=value2"))
Run the code above in your browser using DataLab