Wikipedia-Network-Analysis icon indicating copy to clipboard operation
Wikipedia-Network-Analysis copied to clipboard

Tutorial for performing queries on the Wikipedia API for social network analysis

Wikipedia-Network-Analysis

tl;dr: You can view the contents of this notebook here.

Introduction

This is a tutorial for performing queries on the Wikipedia API and analyzing the data using methods from social network analysis. The tutorial currently covers four major sections:

  • "Write a basic query against the Wikipedia API"
  • "Create a hyperlink network"
  • "Get all the revisions made to an article"
  • "Make a co-authorship network of the hyperlink neighborhood"

Requirements

This tutorial was developed using Anaconda 2.1 and wikitools. After installing Anaconda, run pip install wikitools at the console to install from PyPi.