gtrendsR (version 1.3.5)

sport_trend: Google Trends sport data

Description

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

Usage

data("sport_trend")

Arguments

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

References

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

Examples

Run this code
# NOT RUN {
ch <- gconnect("usr@gmail.com", "psw")
sport_trend <- gtrends(c("nhl", "nba", "nfl"), geo = "US")
# }
# NOT RUN {
data("sport_trend")
plot(sport_trend)
# }

Run the code above in your browser using DataLab