Monthly Archives: May 2022

VIDEO: How (and why) to create an R notebook for data journalism

Notebooks are one of the ways that data journalists document their work, and make it transparent for others to follow and reproduce. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what notebooks are and walk through how to create one in RStudio.

(Check out yesterday’s video on the pros and cons of R in data journalism for an introduction to R in general)

You can read Knuth on literate programming here; more on the pitfalls of “bad Excel”; and the story about the Excel spreadsheet that led to austerity here.

VIDEO: Why is R used by data journalists?

R — along with Python and JavaScript — is one of the most popular programming languages used by data journalists. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what R is and why you might choose to use it rather than spreadsheets alone, or other languages, in your work.

Oh, and a quick caveat: since Colab notebooks were added to Google Drive, I now prefer Python — but it’s a personal thing, and most of this video can be applied to either language.

The talk by FiveThirtyEight’s Andrew Flowers mentioned in this video can be found here.

Continue reading

VIDEO: Search engine optimisation (SEO) for journalists

Search engine optimisation (SEO) is the skill of making it easier for people to find your article when they’re looking for the story, or issue, online. In this video I explain some key techniques in optimising your writing for findability, some of the jargon involved in SEO, and three ‘levels’ that you need to consider in optimising content.

The video was made for students on the MA in Multiplatform and Mobile Journalism at Birmingham City University. A series of video posts from my teaching can be found at this link.

This is where data journalists get their ideas from (story cards)

I’ve written a piece for DataJournalism.com on the range of ways that data journalists get ideas for stories, from new data releases, tip-offs and exclusive leaks to simple questions, or taking an existing story as a template for a new one.

The piece also looks at how news events also provide the impetus for some “follow-on” story ideas, and the role that ‘play’ has in generating more creative (but also typically more complex) story ideas.

As part of the process I also created a series of cards, available as a printable PDF, which you can use to prompt these ideas in a classroom or editorial brainstorming situation. Please let me know if you find them useful!