Description Usage Arguments Details Value Examples
Get search volume data though time, along with CPC and CMP data for a set of up to 800 keywords.
1 2 3 |
keywords |
A vector of keywords to analyse |
api_key |
API key from keywordtool.io |
metrics_location |
Optional vector of location codes to get results from (see documentation for codes). Maximum 10 locations. |
metrics_language |
Optional vector of language to search with. See 'language_codes' for list of codes. Maximum 5 languages. |
metrics_network |
Search network that will be used to pull the search volume data. |
metrics_currency |
The currency that will be used to display cost-per-click (CPC) data. See 'currency_codes' for list of codes. |
method |
Whether to request using get or post. Post is recommended for large requests. |
For more on how to use this see the Keyword Tool API documentation: http://keywordtool.io/api/documentation
An object of class 'keyword_tool_result'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
keyword_tool_key <- '1234'
results <-
get_search_volume(keywords = c('scottish salmon', 'scotland fishing'),
api_key = keyword_tool_key,
metrics_location = c(20339,20342, 2840), #Scotland, England and US
metrics_network = 'googlesearch',
metrics_currency = 'GBP')
str(results$content)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.