Chapter 2 – Aggregating and Analyzing Data by Twitter Account
Chapter 1 – Import Data, Select Cases and Variables, Save DataFrame
Downloading Tweets, Take III – MongoDB
In this tutorial I walk you through how to use Python and MongoDB to download tweets from a list of Twitter users. This tutorial builds on several recents posts on how to use Python to download Twitter data. Specifically, in a previous post I showed you how to download tweets using Python and an SQLite […]
SQLite vs. MongoDB for Big Data
In my latest tutorial I walked readers through a Python script designed to download tweets by a set of Twitter users and insert them into an SQLite database. In this post I will provide my own thoughts on the pros and cons of using a relational database such as SQLite vs. a “noSQL” database such […]
Downloading Tweets – Take II
The goal of this post is to walk you through a Python script designed to download tweets by a set of Twitter users and insert them into an SQLite database. In a previous post I supplied a brief, temporary attempt at providing an overview of how to download tweets sent by a list of Twitter […]
Using Your Twitter API Key
Below is an embedded version of an iPython notebook I have made publicly available on nbviewer. To download a copy of the code, click on the icon with three horizontal lines at the top right of the notebook (just below this paragraph) and select “Download Notebook.” I hope you find it helpful. If so, please […]
Analyzing Big Data with Python PANDAS
This is a series of iPython notebooks for analyzing Big Data — specifically Twitter data — using Python’s powerful PANDAS (Python Data Analysis) library. Through these tutorials I’ll walk you through how to analyze your raw social media data using a typical social science approach. The target audience is those who are interested in covering […]
Producing a Summary Statistics Table in iPython using PANDAS
Below is an embedded version of an iPython notebook I have made publicly available on nbviewer. To download a copy of the code, click on the icon with three horizontal lines at the top right of the notebook (just below this paragraph) and select “Download Notebook.” I hope you find it helpful. If so, please […]
Python Tutorials for Downloading Twitter Data
I often get requests to explain how I obtained the data I used in a particular piece of academic research. I am always happy to share my code along with my data. Having been through the learning process myself about 5 years ago, I understand the confusion and frustration that can go along with learning […]