Skip to content

Instantly share code, notes, and snippets.

View pdwaggoner's full-sized avatar

Philip Waggoner pdwaggoner

View GitHub Profile
@pdwaggoner
pdwaggoner / Google Insights.R
Created April 15, 2018 23:39 — forked from knoepfle/Google Insights.R
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"