get_trends: Query Google Trends API

View source: R/get_trends.R

get_trendsR Documentation

Description

Convenience wrapper for the gtrends function.

If there are more than 5 terms to query, function will ensure that the most popular term is in each query.

Usage

get_trends(arg_list)

Arguments

arg_list

list of arguments to use in API call; arguments provided by user through the Shiny app and wrapped into a list

Value

Data frame returned from Google Trends API

Examples

## Not run: 
get_trends(arg_list)
## End(Not run)

taylorgrant/GSPtrends documentation built on Sept. 14, 2024, 5:43 p.m.