Skip to contents

Outputs cleaned (normalized and accentized) queries

Usage

kwr_clean_queries(kwr, q = NULL)

Arguments

kwr

A kwresearch object.

q

An optional regular expression to filter the output queries.

Value

A tibble.

Examples

queries <- data.frame(
  query = c("seo", "keyword research"),
  volume = c(1000, 500)
)
kwr <- kwresearch(queries)
kwr_clean_queries(kwr)
#> # A tibble: 2 × 7
#>   query_normalized n_queries volume   cpc query_original   input source
#>   <chr>                <int>  <dbl> <dbl> <chr>            <chr> <chr> 
#> 1 seo                      1   1000    NA seo              NA    NA    
#> 2 keyword research         1    500    NA keyword research NA    NA