• About Me
  • Media Mentions
  • Contact

Social Metrics

Social Media, Organizations, and Academic Research

  • Email
  • Facebook
  • GitHub
  • LinkedIn
  • Pinterest
  • RSS
  • Twitter
  • Home
  • Blog
  • Publications
  • Teaching
  • Python
  • About Me
  • February 16, 2019

Analyzing Big Data with Python PANDAS

October 23, 2015 by Gregory Saxton 6 Comments

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 […]

Share Button

Filed Under: Big Data, ipython_notebook, notebooks, pandas, python, research, Twitter Tagged With: academic research, Big Data, hashtags, iPython, PANDAS, Programming, python, research, social media, socialmedia, tutorial, Twitter

Do I Need to Learn Programming to Download Big Data?

June 24, 2015 by Gregory Saxton Leave a Comment

Do I Need to Learn Programming to Download Big Data?

You want to download and analyze “Big Data” — such as messages or network data from Twitter or Facebook or Instagram. But you’ve never done it before, and you’re wondering, “Do I need to learn computer programming?” Here are some decision rules, laid out in the form of brief case studies. One-Shot Download with Limited […]

Share Button

Filed Under: Big Data, python, research, Twitter Tagged With: Database, Programming, python, research, social media, Twitter

Producing a Summary Statistics Table in iPython using PANDAS

May 29, 2015 by Gregory Saxton Leave a Comment

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 […]

Share Button

Filed Under: notebooks, pandas, python, research Tagged With: academic research, iPython, PANDAS, python, tutorial

iPython Notebook and PANDAS Cookbook

April 27, 2015 by Gregory Saxton 2 Comments

iPython Notebook and PANDAS Cookbook

More and more of my research involves some degree of ‘Big Data’ — typically datasets with a million or so tweets. Getting these data prepped for analysis can involve massive amounts of data manipulation — anything from aggregating data to the daily or organizational level, to merging in additional variables, to generating data required for […]

Share Button

Filed Under: pandas, python, research Tagged With: iPython, PANDAS, python

Random Python Recipes

April 26, 2015 by Gregory Saxton Leave a Comment

Random Python Recipes

This page is mostly for me as a handy reference for all those Python commands I tend to forget. That said, if it proves helpful to any others, all the better! Lists Create list by slicing items of another list: Combine two lists into a dictionary: Get list of all files in a directory: Find […]

Share Button

Filed Under: python Tagged With: python

Python Tutorials for Downloading Twitter Data

November 24, 2014 by Gregory Saxton 16 Comments

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 […]

Share Button

Filed Under: python, research, Twitter Tagged With: python, tutorial, Twitter

Setting up Your Computer to Use My Python Code for Downloading Twitter Data

November 24, 2014 by Gregory Saxton 6 Comments

I frequently get requests for how to download social media data in general, as well as for help on how to run code I have written to download and analyze the data I analyzed for a particular piece of research. Often, these requests are from people who are excited about doing social media research but […]

Share Button

Filed Under: academia, python, research, Twitter Tagged With: academic research, python, tutorial, Twitter

Tag Cloud Tutorial

November 23, 2014 by Gregory Saxton Leave a Comment

In this post I’ll provide a brief tutorial on how to create a tag cloud, as seen here. First, this assumes you have downloaded a set of tweets into an SQLite database. If you are using a different database please modify accordingly. Also, to get to this stage, work through the first 8 tutorials listed […]

Share Button

Filed Under: python, Twitter Tagged With: python, tutorial, Twitter

#ARNOVA14 – Tag cloud of ARNOVA 2014 Tweets

November 23, 2014 by Gregory Saxton Leave a Comment

#ARNOVA14 – Tag cloud of ARNOVA 2014 Tweets

Word clouds are generally not all that helpful given how the words are taken out of their context (sentences). In certain settings, however, they do provide meaningful information. Hashtags are one of those contexts — they are meant to be single words. The tags denote ideas or topics or places. By examining the hashtags, we […]

Share Button

Filed Under: python, Twitter Tagged With: academic research, arnova14, conference, python, Twitter

Your First Steps with Python: Part II — Four Ways to Run your Code

September 5, 2014 by Gregory Saxton 10 Comments

Your First Steps with Python: Part II — Four Ways to Run your Code

This is the second in a series of posts to get you up and running on Python. In the first post I showed you which version of Python to install, how to check that the installation succeeded, and how to type in and run your first simple Python command. In this tutorial I will show […]

Share Button

Filed Under: python Tagged With: python, tutorial

image_pdfimage_print
  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »

Featured Posts

Python Data Analytics Tutorials

The bulk of my research involves some degree of 'Big Data' … [Read More...]

Downloading Tweets, Take III – MongoDB

In this tutorial I walk you through how to use Python and … [Read More...]

Does Twitter Matter?

Twitter is not the Gutenberg Press. The 'Big Data' … [Read More...]

Archives

  • January 2019
  • October 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • October 2017
  • September 2017
  • November 2016
  • October 2015
  • June 2015
  • May 2015
  • April 2015
  • November 2014
  • October 2014
  • September 2014
  • May 2014
  • April 2014

E-mail sign-up

Every time I post something new to my blog, receive it free by email.

No spam.

Contact Information

Gregory D. Saxton
Schulich School of Business
York University
Toronto, ON
gsaxton@yorku.ca

Recent Posts

  • Chapter 3 – Analyzing Twitter Data by Time Period
  • Chapter 2 – Aggregating and Analyzing Data by Twitter Account
  • What is Accounting Analytics?
  • Generating, Plotting, and Comparing Word Frequencies with PANDAS and Rosario Tijeras
  • Chapter 1 – Import Data, Select Cases and Variables, Save DataFrame

Tag Cloud

academia academic research AccountingAnalytics arnova14 Big Data conference Data Analytics Database hashtags ica iPython MongoDB nonprofits PANDAS PhD_studies Programming python replication research social media socialmedia tutorial Twitter

Copyright © 2019 · Metro Pro Theme on Genesis Framework · WordPress · Log in