Skip to content

Instantly share code, notes, and snippets.

View meefen's full-sized avatar

Bodong Chen meefen

View GitHub Profile
@meefen
meefen / TAGS_Stats.R
Last active December 14, 2015 03:58 — forked from psychemedia/TAGS_Stats.R
#------------------------
# Load libraries
require(stringr)
require(RCurl)
require(ggplot2)
#------------------------
# Read and return Google Spreadsheet as csv
#@author Michael J Bommarito
#@contact michael.bommarito@gmail.com
#@date Feb 20, 2011
#@ip Simplified BSD, (C) 2011.
# This is a simple example of an R script that will retrieve
# public tweets from a given hashtag.
library(RJSONIO)
# This function loads stored tag data to determine the current max_id.
'''
@author Michael J Bommarito II
@date Feb 26, 2011
@license Simplified BSD, (C) 2011.
This script demonstrates how to use Python to archive historical tweets.
'''
import codecs
import csv