sport_trend: Google Trends sport data

Description Usage Format Source References Examples

Description

Google Trends data for keywords nhl, nba and nfl between 2004-01-04 and 2015-11-14.

Usage

1
data("sport_trend")

Format

An object of class gtrends containing:

query

Query information such has keywords and time of the query

meta

Meta data returned by Google Trends upon a query

tend

A data frame containing Google Trends data for each keyword

regions

A list containing one data frame with top regions hit search for each keyword

topmetros

A list containing one data frame with top metros hit search for each keyword

cities

A list containing one data frame with top cities hit search for each keyword

searches

Top related searches for each keyword

rising

Rising searches for each keyword

headers

Header information for each bloc described above

Source

www.google.com/trends

References

Data Source: Google Trends (www.google.com/trends)

Examples

1
2
3
4
5
6
7
8
## Not run: 
ch <- gconnect("usr@gmail.com", "psw")
sport_trend <- gtrends(c("nhl", "nba", "nfl"), geo = "US")

## End(Not run)

data("sport_trend")
plot(sport_trend)

cemigo114/GoogleAPI documentation built on July 18, 2020, 6:06 p.m.