knitr::opts_chunk$set( echo = FALSE, message = FALSE, warning = FALSE, comment = "", fig.width = 8, fig.height = 5, dev = c("png", "cairo_pdf") )
library(tidyverse) library(knitr) library(clipr) library(keywordr)
Create kwresearch object:
kwr <- kwresearch()
Import from Marketing Miner:
kwr <- kwr |> kwr_import_mm(path = "data-raw/mm-files/")
Summary:
kwr |> kwr_summary()
kwr |> kwr_source_queries() |> arrange(desc(volume), query)
kwr |> kwr_clean_queries()
kwr |> kwr_subqueries()
kwr |> kwr_collocations()
kwr |> kwr_ngrams(min_words = 1, max_words = 4, min_n = 2, min_volume = 1, remove_nested = TRUE) |> kwr_remove_stopwords()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.