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.