Usage of the Jupyter Notebook in Data Journalism


In [1]:
%load_ext load_style
%load_style images.css
from IPython.display import display, Image, HTML


BuzzFeed

Jeremy Singer-Vine and Jon Templon of BuzzFeedNews publish the code and data for all data-backed article they write on GitHub. All code is shared as Jupyter notebooks:

https://github.com/BuzzFeedNews/everything

Here is one article in particular:

http://www.buzzfeed.com/davidnoriega/vast-disparities-by-nationality-in-immigration-jailings


In [2]:
Image("images/buzzfeed-article.png", width="80%")


Out[2]:

And here is the GitHub repo containing all of the code and data used in the article:


In [3]:
Image("images/buzzfeed-repo.png", width="80%")


Out[3]:

LA Times

The LA Times published an article exposing serious problems with how the LAPD have been reporting crimes.

http://www.latimes.com/local/cityhall/la-me-crime-stats-20151015-story.html


In [5]:
Image("images/latimes-article.png", width="80%")


Out[5]:

The article was backed by a significant analysis that was published on GitHub:

https://github.com/datadesk/lapd-crime-classification-analysis


In [6]:
Image("images/latimes-repo.png", width="80%")


Out[6]: