Community Data Science Workshops (Spring 2014)/May 3rd Twitter project

From OpenHatch wiki
Page Moved
All material related to the Community Data Science Workshops have been moved from the OpenHatch wiki to a new dedicated wiki and this page is no longer being updated here. Please visit the new version of the page on the Community Data Science Collective wiki.

Building a Dataset using the Twitter API

In this project, we will explore a few ways to gather data using the Twitter API. Once we've done that done, we will extend this to code to create our own datasets of tweets that we might be able to use to ask and answer questions in the final session.


  • Get set up to build datasets with the Twitter API
  • Have fun collecting different types of tweets using a variety of ways to search
  • Pratice reading and extending other people's code
  • Create a few collections of Tweets you can do research with in the final section


To participate in the Twitter afternoon session, you must have registered with Twitter as a developer before the session by following the Twitter authentication setup instructions. If you did not do this, or if you tried but did not succeed, please attend one of the other two sessions instead.

Download and test the Twitter project

If you are confused by these steps, go back and refresh your memory with the Friday April 4th setup and tutorial and Friday April 4th Tutorial

(Estimated time: 10 minutes)