rGtrends 0.01

[This article was first published on distributed ecology, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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 about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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)