rGtrends 0.01

October 4, 2012

(This article was first published on distributed ecology, and kindly contributed to R-bloggers)

I’m happy to announce that I’ve finally finished my rGtrends package, an interface
for the unofficial python Google trends API.
It’s a simple function that will allow you to search Google Trends from within R.
I haven’t really come up with how this is really relevant to ecology, but it is pretty interesting from a social perspective.
For instance you can see trends such as the rise of Honey Boo Boo
and the fall of the Jersey Shore)

Fall of JS

Which matches the same data from Google.

real trends

There’s a couple of caveats that go along the package. The first is that data is scaled by Google so you can’t analyze data from different searches. The second is that Google just changed their interface so the python code that used to let me parse the results by language and country are broken but I hope to bring them back, and will if there’s enough interest. For now you can install the package from github, and check out a little vignette about how to use it here.

To leave a comment for the author, please follow the link and comment on their blog: distributed ecology.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



CRC R books series

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)