Very long queries tend to be too specific and you may want to exclude them
from the analysis. You can use this function to review them before using the
kwr_prune_long_queries
function to remove them.
Arguments
- kwr
A
kwresearch
object.- longer_than
A number.
Value
The output of the kwr_queries
function filtered for
queries longer than longer_than
characters.
Examples
queries <- data.frame(
query = c(
"seo",
"this is a very long query made up of 67 characters including spaces"
),
volume = c(1000, 5)
)
kwr <- kwresearch(queries)
kwr_long_queries(kwr, longer_than = 65)
#> # A tibble: 1 × 2
#> query_normalized volume
#> <chr> <dbl>
#> 1 this is a very long query made up of 67 characters including spaces 5