Leszek-Sieminski / googleSuggestQueriesR

Download suggested queries based on your input generated by Google Suggest API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

googleSuggestQueriesR 0.1.0

Download suggested queries based on your input generated by Google Suggest API.

CRAN status Lifecycle: experimental Build Status codecov

What is Google Suggest Query API?

Google Suggest Query API is a tool for extracting keyword suggestions from Google.

News

For more, see the NEWS.md

Features

  • downloads keyword suggestions
  • returns vector of character strings
  • extracts more suggestions by automatic creation of additional variations of keywords
  • you can also create your own keyword variations on-the-fly
  • has enabled interval options to not exceed API limits

Installation

# CRAN version is is not yet available - to be announced

# GitHub version:
install.packages("devtools")
devtools::install_github("Leszek-Sieminski/googleSuggestQueriesR")

Usage

library(googleSuggestQueriesR)

# there is no authentication with the API

# this can take some time due to the number of variations, please be patient
keyword_suggestions <- googleSuggestQueriesR::suggest_keywords(
  queries = "mtcars",
  lang = "en",
  interval = 1)

head(keyword_suggestions)
# [1] "mtcars c(1 2)" "mtcars am" "mtcars analysis" "mtcars analysis in r" "mtcars anova" "mtcars analysis using r"

str(keyword_suggestions)
# chr [1:196] "mtcars c(1 2)" "mtcars am" "mtcars analysis" "mtcars analysis in r" "mtcars anova" "mtcars analysis using r" ...

See more examples in a guide

For more advanced examples and description of using the helper functions to narrow down the recommendations, read this article.

Bugs, issues

Please report them here.

About

Download suggested queries based on your input generated by Google Suggest API

License:Other


Languages

Language:R 100.0%