R package to create clusters from an SEO keyword list
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
DESCRIPTION
NAMESPACE
README.md
keyword_list.xlsx
kwClustersR.Rproj

README.md

kwClustersR

This R package helps you to create clusters from a keyword list to speed up your SEO keyword research. It uses the Jaro Winkler distance algorithm to create clusters. You can specify the cluster ratio to manage the size of your keyword groups. Try several ratio to adjust your keyword clusterisation.

The script is explained step by step on my blog post "Clusteriser ses mots-clés avec R (French)"

Install

devtools::install_github("remibacha/kwClustersR")

Getting started

Load the following packages

library(kwClustersR)
library(readxl)
library(stringdist)

Load your keyword list into R. It should contain a column called "Keyword" with all your keywords in it. Check the keyword_list.xlsx example.

pathxlsx <- '/Users/Downloads/keyword_list.xlsx'
df <-  read_excel(pathxlsx, sheet = 1, col_names = TRUE, na = "", skip=0)

Call the kwClustersR function by specified 2 arguments (your dataset, the clusters ratio) and enjoy!

kwClustersR(df,0.9)

Don't forget to check the Plots tab in your R Studio. 2 graphics has been created here.

Feedbacks

Questions and feedbacks welcome!

You want to contribute ? Open a pull request ;-) If you encounter a bug or want to suggest an enhancement, please open an issue.