Skip to content

Instantly share code, notes, and snippets.

View knoepfle's full-sized avatar

Dan Knoepfle knoepfle

View GitHub Profile
@knoepfle
knoepfle / Google Insights.R
Created January 11, 2011 11:56
fetch a CSV file from a Google Insights search
#########################################
## GLOBAL REQUIREMENTS AND DEFINITIONS ##
#########################################
require(RCurl)
require(XML)
loginURL <- "https://accounts.google.com/ServiceLogin"
authenticateURL <- "https://accounts.google.com/accounts/ServiceLoginAuth"
insightsURL <- "http://www.google.com/insights/search/overviewReport"