Learn R Programming

gtrendsR (version 1.3.4)

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:

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")
# ## End(Not run)

data("sport_trend")
plot(sport_trend)

Run the code above in your browser using DataLab